physfs/src
Martin Ahrnbom 9d55f3f099 Added support for WinRT 8.1 Universal Apps.
Hopefully this will work on Win10 as well... Only time will tell!
Here's what's changed:
1. Added a platform_winrt.cpp file. It's based on platform_windows.c but has some WinRT-specific changes.
2. Changed physfs_platforms.h to define PHYSFS_PLATFORM_WINRT when running on WinRT. PHYSFS_PLATFORM_WINDOWS should also be defined, as WinRT behaves a lot like "normal" Windows and this flag is tested against in multiple parts of the PhysFS source code.
3. Changed platform_windows.c to not be used when PHYSFS_PLATFORM_WINRT is defined.
4. In order to work on Windows ARM devices, I had to change in physfs_internal.h, to include _M_ARM as a flag for running on ARM as "ARM" and "__arm__" aren't defined when running on a Windows ARM device.

What I've tested:
* Setting up a "sane folder configuration"
* Reading and writing files
* Mounting zip files
* Using seek & tell
* Checking file length

All of these work fine. I couldn't get the actual test software to run on WinRT, but it seems like eveyrthing's working. I've tested these things on my Windows 8.1 computer, as well as my Lumia 920 which is currently running Windows 8.1.
2015-03-29 07:03:30 +02:00
..
lzma Some targets need string.h here. 2010-02-03 22:50:07 -05:00
archiver_dir.c Rearranged PHYSFS_Archiver struct. 2012-11-30 14:09:56 -05:00
archiver_grp.c Rearranged PHYSFS_Archiver struct. 2012-11-30 14:09:56 -05:00
archiver_hog.c Rearranged PHYSFS_Archiver struct. 2012-11-30 14:09:56 -05:00
archiver_iso9660.c Rearranged PHYSFS_Archiver struct. 2012-11-30 14:09:56 -05:00
archiver_lzma.c Rearranged PHYSFS_Archiver struct. 2012-11-30 14:09:56 -05:00
archiver_mvl.c Rearranged PHYSFS_Archiver struct. 2012-11-30 14:09:56 -05:00
archiver_qpak.c Rearranged PHYSFS_Archiver struct. 2012-11-30 14:09:56 -05:00
archiver_slb.c Rearranged PHYSFS_Archiver struct. 2012-11-30 14:09:56 -05:00
archiver_unpacked.c Cleaned out "exists" nonsense in openRead() API. 2012-11-30 13:00:08 -05:00
archiver_wad.c Rearranged PHYSFS_Archiver struct. 2012-11-30 14:09:56 -05:00
archiver_zip.c This returns -1 on error, not zero. :/ 2014-02-07 16:23:12 -05:00
physfs.c Make sure read buffers get reinitialized before refilling (thanks, Michael!). 2014-09-11 00:07:23 -04:00
physfs.h PHYSFS_enumerateFiles() actually promises sorting order, and always has. 2014-08-14 21:17:04 -04:00
physfs_byteorder.c Reworked the error reporting API. Now we use error codes instead of strings. 2012-03-20 15:38:12 -04:00
physfs_casefolding.h Moved directory structure around. 2009-03-27 15:10:42 -04:00
physfs_internal.h Added support for WinRT 8.1 Universal Apps. 2015-03-29 07:03:30 +02:00
physfs_miniz.h Replace C++/C99 single-line comments in miniz with C98 /* comments */ ... 2012-03-11 03:56:24 -04:00
physfs_platforms.h Added support for WinRT 8.1 Universal Apps. 2015-03-29 07:03:30 +02:00
physfs_unicode.c Short circuit case-insensitive compare of two equal Unicode codepoints. 2014-08-14 21:33:24 -04:00
platform_beos.cpp More FIXME cleanup. 2012-03-24 00:26:04 -04:00
platform_macosx.c Renamed a function to make Clang static analysis happy. 2014-02-07 16:17:48 -05:00
platform_posix.c Don't fsync() read-only filehandles (thanks, Andreas!). 2013-08-21 23:30:33 -04:00
platform_unix.c Make static analysis happy. 2014-08-19 10:55:56 -04:00
platform_windows.c Added support for WinRT 8.1 Universal Apps. 2015-03-29 07:03:30 +02:00
platform_winrt.cpp Added support for WinRT 8.1 Universal Apps. 2015-03-29 07:03:30 +02:00