[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: patch: 5.1w3 compile fix when loadlib disabled.
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 07 Dec 2004 14:44:17 -0200
> 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