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