blueloveTH 2 лет назад
Родитель
Сommit
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>