From a3d4e6695850dd0c0114176a2be23635db6322a7 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Thu, 28 Sep 2023 11:58:24 +0800 Subject: [PATCH] ... --- include/pocketpy/export.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/pocketpy/export.h b/include/pocketpy/export.h index 10922fc9..676e7d09 100644 --- a/include/pocketpy/export.h +++ b/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