We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e2a944 commit e26f917Copy full SHA for e26f917
netcode.c
@@ -161,7 +161,9 @@ void netcode_default_free_function( void * context, void * pointer )
161
162
#if NETCODE_PLATFORM == NETCODE_PLATFORM_WINDOWS
163
164
+ #ifndef NOMINMAX
165
#define NOMINMAX
166
+ #endif // #ifndef NOMINMAX
167
#define _WINSOCK_DEPRECATED_NO_WARNINGS
168
#include <winsock2.h>
169
#include <ws2def.h>
@@ -5227,7 +5229,9 @@ double netcode_time()
5227
5229
5228
5230
// windows
5231
5232
+#ifndef NOMINMAX
5233
5234
+#endif // #ifndef NOMINMAX
5235
#include <windows.h>
5236
5237
void netcode_sleep( double time )
0 commit comments