aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/sdl2-net/fix-uwp.patch
blob: 79f4c07a2908582a4f93dfb54d3ae71bd4872b03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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