Browse Source

fixed os2 symbol exports

Ozkan Sezer 3 năm trước cách đây
mục cha
commit
3abe069870
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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