Sfoglia il codice sorgente

Try to fix Windows build

Ivan Savenko 5 mesi fa
parent
commit
89692a57f0
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      Global.h

+ 3 - 0
Global.h

@@ -85,6 +85,9 @@ static_assert(sizeof(bool) == 1, "Bool needs to be 1 byte in size.");
 #  ifndef NOMINMAX
 #    define NOMINMAX				 // Exclude min/max macros from <Windows.h>. Use std::[min/max] from <algorithm> instead.
 #  endif
+#  ifndef NOGDI
+#    define NOGDI
+#  endif
 #  ifndef _NO_W32_PSEUDO_MODIFIERS
 #    define _NO_W32_PSEUDO_MODIFIERS // Exclude more macros for compiling with MinGW on Linux.
 #  endif