Explorar o código

'LUA_DL_DLL' is not yet defined before the inclusion of 'lua.h'

Roberto Ierusalimschy %!s(int64=13) %!d(string=hai) anos
pai
achega
5184ff2096
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      loadlib.c

+ 2 - 2
loadlib.c

@@ -1,5 +1,5 @@
 /*
-** $Id: loadlib.c,v 1.103 2011/11/09 19:11:20 roberto Exp roberto $
+** $Id: loadlib.c,v 1.104 2011/11/10 11:42:58 roberto Exp roberto $
 ** Dynamic library loader for Lua
 ** See Copyright Notice in lua.h
 **
@@ -12,7 +12,7 @@
 /*
 ** if needed, includes windows header before everything else
 */
-#if defined(LUA_DL_DLL)
+#if defined(_WIN32)
 #include <windows.h>
 #endif