lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Incidentally, it wasn't very easy to disable loadlib support
> at all in 5.1w3.

+#if 0
 #if defined(__linux) || defined(sun) || defined(sgi) || defined(BSD)
 #define USE_DLOPEN
 #elif defined(_WIN32)
 #define USE_DLL
 #elif defined(__APPLE__) && defined(__MACH__)
 #define USE_DYLD
 #endif
+#endif


> The 'config' file's notes about setting LOADLIB to 0 or 1
> won't seem to affect matters, since loadlib.c uses #ifdef
> rather then #if to test this var (and others).

5.1w3 does not even mention LOADLIB, does it?

-- Roberto