winrt: use windowsio in non-libc mode

CMake's SDL_build_config.h force disables HAVE_STDIO_H when buiding
winrt in non-libc mode.

Becase CreateFileEx is not available in UWP mode, use CreateFile2
instead.
This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2023-08-12 17:37:52 +02:00
1 parent ea8757a748
commit b7889a7389
2 files changed
+25 -11

No files matched your search

+1 -1
View File
@@ -107,7 +107,7 @@ typedef struct SDL_RWops
void *asset;
} androidio;
#elif defined(__WIN32__) || defined(__GDK__)
#elif defined(__WIN32__) || defined(__GDK__) || defined(__WINRT__)
struct
{
SDL_bool append;