readded ilu/ilut handles - though they're never used. But stops compile errors

This commit is contained in:
Brian Matzon 2005-03-28 14:53:30 +00:00
parent 4d26c24be2
commit fb7f46eec7
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,5 @@
#include "extilu.h"
#define devILhandle muhko;
/* Handle to ilu Library */
#ifdef _WIN32
@ -13,6 +14,7 @@ static void* devILUhandle;
#include <string.h>
// note, we use the IL handle since it's all in one lib
extern const struct mach_header* devILhandle;
static const struct mach_header* devILUhandle; // never actually used, just makes it shut up
#endif
/**
@ -21,7 +23,7 @@ extern const struct mach_header* devILhandle;
*/
static void *NativeGetFunctionPointer(const char *function) {
#ifdef _WIN32
return GetProcAddress(devILhandle, function);
return GetProcAddress(devILUhandle, function);
#endif
#ifdef _X11
return dlsym(devILUhandle, function);
@ -114,4 +116,3 @@ void extilu_Close(void) {
#endif
devILUhandle = NULL;
}

View File

@ -12,7 +12,8 @@ static void* devILUThandle;
#include <stdlib.h>
#include <string.h>
// note, we use the IL handle since it's all in one lib
extern const struct mach_header* devILUThandle;
extern const struct mach_header* devILhandle;
static const struct mach_header* devILUThandle; // never actually used, just makes it shut up
#endif
/**