windows really sucks

This commit is contained in:
Bill Currie 2002-06-27 16:37:16 +00:00
parent be50d0e15a
commit e77d730054

View file

@ -74,7 +74,11 @@ void * (* glGetProcAddress) (const char *symbol) = NULL; // FIXME
//# error "Cannot load libraries: %s was not configured with DSO support" //# error "Cannot load libraries: %s was not configured with DSO support"
// the following is to avoid other compiler errors // the following is to avoid other compiler errors
void * (* getProcAddress) (void *handle, const char *symbol); #ifdef _WIN32
void *(*getProcAddress) (HINSTANCE, LPCSTR);
#else
void *(*getProcAddress) (void *, const char *);
#endif
void * void *
QFGL_LoadLibrary (void) QFGL_LoadLibrary (void)