blueloveTH 2 년 전
부모
커밋
a3d4e66958
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      include/pocketpy/export.h

+ 3 - 1
include/pocketpy/export.h

@@ -37,7 +37,9 @@
 #define NOMB              // MB_* and MessageBox()
 #define NOMEMMGR          // GMEM_*, LMEM_*, GHND, LHND, associated routines
 #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 NOOPENFILE        // OpenFile(), OemToAnsi, AnsiToOem, and OF_*
 #define NOSCROLL          // SB_* and scrolling routines