Explorar el Código

Added a header guard for luasocket's lua.h wrapper

Alex Szpakowski hace 11 años
padre
commit
0e28a9d01b
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      src/libraries/luasocket/libluasocket/lua.h

+ 5 - 0
src/libraries/luasocket/libluasocket/lua.h

@@ -1,3 +1,6 @@
+#ifndef LUA_WRAP_H
+#define LUA_WRAP_H
+
 #define LUA_COMPAT_ALL
 #include <lua.h>
 #include <lualib.h>
@@ -10,3 +13,5 @@
 
 extern int luax_typerror(lua_State *L, int narg, const char *type);
 #endif
+
+#endif // LUA_WRAP_H