windows: better test for WinRT vs win32 (...I think...?)

This commit is contained in:
Ryan C. Gordon 2017-08-02 12:48:31 -04:00
parent 5ab8df339d
commit 02c2c4736e
1 changed files with 1 additions and 1 deletions

View File

@ -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