Parcourir la source

fixed os2 symbol exports

Ozkan Sezer il y a 4 ans
Parent
commit
4e91208cc3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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