Small source code changes for Cygwin port of OSG.

This commit is contained in:
Robert Osfield
2002-01-03 19:28:13 +00:00
parent eb181ac84e
commit ba8c009219
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ const bool osg::isGLExtensionSupported(const char *extension)
void* osg::getGLExtensionFuncPtr(const char *funcName)
{
#if defined(_WIN32)
#if defined(_WIN32) || defined(__CYGWIN__)
return wglGetProcAddress(funcName);
#elif defined(macintosh)
return NULL;

View File

@@ -221,7 +221,7 @@ std::string Registry::createLibraryNameForExt(const std::string& ext)
ExtensionAliasMap::iterator itr=_extAliasMap.find(ext);
if (itr!=_extAliasMap.end()) return createLibraryNameForExt(itr->second);
#ifdef WIN32
#if defined(WIN32)
# ifdef _DEBUG
return "osgdb_"+ext+"d.dll";
# else