blueloveTH 2 年之前
父节点
当前提交
f7c12ec213
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      include/pocketpy/common.h

+ 8 - 0
include/pocketpy/common.h

@@ -25,6 +25,14 @@
 #include "config.h"
 #include "export.h"
 
+#ifdef min
+#undef min
+#endif
+
+#ifdef max
+#undef max
+#endif
+
 /*******************************************************************************/
 #if PK_ENABLE_STD_FUNCTION
 #include <functional>