Fixes for cygwin and mingw builds.

This commit is contained in:
Robert Osfield
2002-02-09 10:24:39 +00:00
parent 254d22ec90
commit ed45cccc25
12 changed files with 246 additions and 91 deletions

View File

@@ -1,4 +1,4 @@
#if defined(_WIN32) || defined(__CYGWIN__)
#if defined(WIN32)
#include <windows.h>
#elif !defined macintosh
#include <dlfcn.h>
@@ -60,7 +60,7 @@ const bool osg::isGLExtensionSupported(const char *extension)
void* osg::getGLExtensionFuncPtr(const char *funcName)
{
#if defined(_WIN32) || defined(__CYGWIN__)
#if defined(WIN32)
return wglGetProcAddress(funcName);
#elif defined(macintosh)
return NULL;