src/physfs_platforms.h
changeset 1524 bf22529f7ca9
parent 1518 a6ac19814d53
child 1544 7f6020ee746c
--- a/src/physfs_platforms.h	Mon Jul 31 16:32:47 2017 -0400
+++ b/src/physfs_platforms.h	Wed Aug 02 12:48:31 2017 -0400
@@ -21,7 +21,7 @@
 #  error PocketPC support was dropped since PhysicsFS 2.1. Sorry. Try WinRT!
 #elif (defined(_MSC_VER) && (_MSC_VER >= 1700) && !_USING_V110_SDK71_)	/* _MSC_VER==1700 for MSVC 2012 */
 #  include <winapifamily.h>
-#  if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
+#  if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) && !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
 #    define PHYSFS_NO_CDROM_SUPPORT 1
 #    define PHYSFS_PLATFORM_WINRT 1
 #    define PHYSFS_PLATFORM_WINDOWS 1