2
0
Эх сурвалжийг харах

possibly fix a Windows compile error

Alex Szpakowski 6 жил өмнө
parent
commit
da046b39f0

+ 4 - 0
src/libraries/enet/enet.cpp

@@ -21,6 +21,10 @@
  * THE SOFTWARE.
  */
 
+#ifdef _WIN32
+#define NOMINMAX
+#endif
+
 #include <stdlib.h>
 #include <string.h>
 #include <math.h>