mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-01-08 09:49:57 +01:00
reorganize headers so that compilers stop whining
This commit is contained in:
parent
b12ac2c44c
commit
39c4e989a7
|
|
@ -1,8 +1,10 @@
|
|||
/* Handle to devil Library */
|
||||
#ifdef _WIN32
|
||||
#include "extil.h"
|
||||
static HMODULE devILhandle;
|
||||
#endif
|
||||
#ifdef _X11
|
||||
#include "extil.h"
|
||||
static void* devILhandle;
|
||||
#endif
|
||||
#ifdef _MACOSX
|
||||
|
|
@ -10,8 +12,8 @@ static void* devILhandle;
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
const struct mach_header* devILhandle = NULL;
|
||||
#endif
|
||||
#include "extil.h"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Retrieves a function pointer from the devil library
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
/* Handle to ilu Library */
|
||||
#ifdef _WIN32
|
||||
#include "extilu.h"
|
||||
static HMODULE devILUhandle;
|
||||
#endif
|
||||
#ifdef _X11
|
||||
#include "extilu.h"
|
||||
static void* devILUhandle;
|
||||
#endif
|
||||
#ifdef _MACOSX
|
||||
|
|
@ -12,8 +14,8 @@ static void* devILUhandle;
|
|||
// 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
|
||||
#include "extilu.h"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Retrieves a function pointer from the ilu library
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
/* Handle to ilut Library */
|
||||
#ifdef _WIN32
|
||||
#include "extilut.h"
|
||||
static HMODULE devILUThandle;
|
||||
#endif
|
||||
#ifdef _X11
|
||||
#include "extilut.h"
|
||||
static void* devILUThandle;
|
||||
#endif
|
||||
#ifdef _MACOSX
|
||||
|
|
@ -12,8 +14,8 @@ static void* devILUThandle;
|
|||
// note, we use the IL handle since it's all in one lib
|
||||
extern const struct mach_header* devILhandle;
|
||||
static const struct mach_header* devILUThandle; // never actually used, just makes it shut up
|
||||
#endif
|
||||
#include "extilut.h"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Retrieves a function pointer from the ilut library
|
||||
|
|
|
|||
Loading…
Reference in a new issue