vcpkg/ports/sdl2-net/fix-uwp.patch

14 lines
309 B
Diff
Raw Permalink Normal View History

2023-10-10 00:07:23 +02:00
diff --git a/SDLnetUDP.c b/SDLnetUDP.c
index ee4e46b..dc9b4b0 100644
--- a/SDLnetUDP.c
+++ b/SDLnetUDP.c
@@ -22,7 +22,7 @@
#include "SDLnetsys.h"
#include "SDL_net.h"
-#if defined(__WIN32__) || defined(__OS2__)
+#if defined(_WIN32) || defined(__OS2__)
#define srandom srand
#define random rand
#endif