blueloveTH před 2 roky
rodič
revize
a3d4e66958
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      include/pocketpy/export.h

+ 3 - 1
include/pocketpy/export.h

@@ -37,7 +37,9 @@
 #define NOMB              // MB_* and MessageBox()
 #define NOMB              // MB_* and MessageBox()
 #define NOMEMMGR          // GMEM_*, LMEM_*, GHND, LHND, associated routines
 #define NOMEMMGR          // GMEM_*, LMEM_*, GHND, LHND, associated routines
 #define NOMETAFILE        // typedef METAFILEPICT
 #define NOMETAFILE        // typedef METAFILEPICT
-#define NOMINMAX          // Macros min(a,b) and max(a,b)
+#ifndef NOMINMAX
+    #define NOMINMAX          // Macros min(a,b) and max(a,b)
+#endif
 #define NOMSG             // typedef MSG and associated routines
 #define NOMSG             // typedef MSG and associated routines
 #define NOOPENFILE        // OpenFile(), OemToAnsi, AnsiToOem, and OF_*
 #define NOOPENFILE        // OpenFile(), OemToAnsi, AnsiToOem, and OF_*
 #define NOSCROLL          // SB_* and scrolling routines
 #define NOSCROLL          // SB_* and scrolling routines