src/physfs_platforms.h
changeset 1395 2b5c79f64d59
parent 1358 d09554806efb
child 1426 0265fa9cdc4c
--- a/src/physfs_platforms.h	Mon Jul 03 14:47:25 2017 -0400
+++ b/src/physfs_platforms.h	Wed Jul 05 21:29:37 2017 -0400
@@ -27,8 +27,8 @@
 #   define PHYSFS_PLATFORM_WINDOWS 1
 #elif (((defined _WIN32) || (defined _WIN64)) && (!defined __CYGWIN__))
 #  define PHYSFS_PLATFORM_WINDOWS 1
-#elif (defined OS2)
-#  error OS/2 support was dropped from PhysicsFS 2.1. Sorry.
+#elif defined(__OS2__) || defined(OS2)
+#  define PHYSFS_PLATFORM_OS2 1
 #elif ((defined __MACH__) && (defined __APPLE__))
 /* To check if iphone or not, we need to include this file */
 #  include <TargetConditionals.h>