mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 01:57:17 +08:00
14 lines
309 B
Diff
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
|