Explorar o código

fixed os2 symbol exports

Ozkan Sezer %!s(int64=4) %!d(string=hai) anos
pai
achega
3abe069870
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/physfs.h

+ 1 - 1
src/physfs.h

@@ -225,7 +225,7 @@ extern "C" {
 
 #if defined(PHYSFS_DECL)
 /* do nothing. */
-#elif defined(_WIN32)
+#elif defined(_WIN32) || defined(__OS2__)
 #define PHYSFS_DECL __declspec(dllexport)
 #elif defined(__SUNPRO_C)
 #define PHYSFS_DECL __global