Przeglądaj źródła

fixed os2 symbol exports

Ozkan Sezer 4 lat temu
rodzic
commit
3abe069870
1 zmienionych plików z 1 dodań i 1 usunięć
  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