windows has a LoadImage #define, so kill it :)

This commit is contained in:
Bill Currie 2003-09-08 15:49:21 +00:00
parent 61a2840870
commit 2ea7ca1efd
3 changed files with 3 additions and 0 deletions

View file

@ -38,6 +38,7 @@
# ifdef _WIN32
# include <windows.h>
# define GLAPIENTRY WINAPI
# undef LoadImage
# else
# ifdef APIENTRY
# define GLAPIENTRY APIENTRY

View file

@ -61,6 +61,7 @@
#undef byte
#undef shutdown
#undef LoadImage
#include "QF/qtypes.h"

View file

@ -182,6 +182,7 @@ LoadPNG (QFile *infile)
#else
#include "QF/image.h"
#include "QF/png.h"
tex_t *
LoadPNG (QFile *infile)