瀏覽代碼

Minor QNX fix; don't warn about CD-ROM support (for now).

Ryan C. Gordon 8 年之前
父節點
當前提交
bc28fb74b4
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/physfs_platforms.h

+ 5 - 0
src/physfs_platforms.h

@@ -63,6 +63,11 @@
 #  define PHYSFS_NO_CDROM_SUPPORT 1
 #  define PHYSFS_NO_CDROM_SUPPORT 1
 #  define PHYSFS_PLATFORM_UNIX 1
 #  define PHYSFS_PLATFORM_UNIX 1
 #  define PHYSFS_PLATFORM_POSIX 1
 #  define PHYSFS_PLATFORM_POSIX 1
+#elif defined(__QNX__)
+#  define PHYSFS_NO_CDROM_SUPPORT 1  /* !!! FIXME? */
+#  define PHYSFS_PLATFORM_QNX 1
+#  define PHYSFS_PLATFORM_UNIX 1
+#  define PHYSFS_PLATFORM_POSIX 1
 #elif defined(unix) || defined(__unix__)
 #elif defined(unix) || defined(__unix__)
 #  define PHYSFS_PLATFORM_UNIX 1
 #  define PHYSFS_PLATFORM_UNIX 1
 #  define PHYSFS_PLATFORM_POSIX 1
 #  define PHYSFS_PLATFORM_POSIX 1