vcpkg/ports/sdl2-net/fix-uwp.patch
2023-10-09 15:07:23 -07:00

14 lines
309 B
Diff

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