diff options
author | Eric Anholt <[email protected]> | 2006-02-11 02:59:38 +0000 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2006-02-11 02:59:38 +0000 |
commit | 91c30771b63ae3498dbcd880930e6faa975c5928 (patch) | |
tree | 670d78041aaf8c4c492cfffeeaeb87a7e4d8da88 /src/mesa/main/imports.c | |
parent | f236300e3a79be14da7f417956227bbe8a680e87 (diff) |
Add the ability to define NO_LIBCWRAPPER to avoid libcwrapper brain damage.
If it's true that libcwrapper usage isn't necessary ever in the DllLoader world,
then this code should probbaly all go away.
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r-- | src/mesa/main/imports.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index bf1556fe6f8..474b358eb41 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -71,6 +71,14 @@ extern int vsnprintf(char *str, size_t count, const char *fmt, va_list arg); #endif #endif +/* If we don't actually want to use the libcwrapper junk (even though we're + * building an Xorg server module), then just undef IN_MODULE to signal that to + * the following code. It's left around for now to allow compiling of newish + * Mesa with older servers, but this whole mess should go away at some point. + */ +#ifdef NO_LIBCWRAPPER +#undef IN_MODULE +#endif /**********************************************************************/ /** \name Memory */ |