]> git.mxchange.org Git - simgear.git/commitdiff
Mac OS X fix
authorehofman <ehofman>
Fri, 20 Jun 2003 19:32:04 +0000 (19:32 +0000)
committerehofman <ehofman>
Fri, 20 Jun 2003 19:32:04 +0000 (19:32 +0000)
simgear/screen/extensions.cxx

index e6c17ea24e36d9ed3b09974468b87c6615a9ee21..4acf0e260160efcea9e8492fc48f75dc080f1bdf 100644 (file)
 
 #include <string.h>
 
-#ifndef WIN32
-#include <dlfcn.h>
-#else
+#ifdef WIN32
 #include <windows.h>
 #endif
 
+#if !defined( WIN32 ) && !defined( __APPLE__ )
+#include <dlfcn.h>
+#endif
+
 #include "extensions.hxx"
 
 bool SGSearchExtensionsString(char *extString, char *extName) {