diff --git a/src/native/common/devil/extilu.c b/src/native/common/devil/extilu.c index 022e4203..eeedb1af 100644 --- a/src/native/common/devil/extilu.c +++ b/src/native/common/devil/extilu.c @@ -1,4 +1,5 @@ #include "extilu.h" +#define devILhandle muhko; /* Handle to ilu Library */ #ifdef _WIN32 @@ -13,6 +14,7 @@ static void* devILUhandle; #include // 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; } - diff --git a/src/native/common/devil/extilut.c b/src/native/common/devil/extilut.c index 9f5ed6a7..fbbb1df7 100644 --- a/src/native/common/devil/extilut.c +++ b/src/native/common/devil/extilut.c @@ -12,7 +12,8 @@ static void* devILUThandle; #include #include // 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 /**