Skip to content

Commit 4957189

Browse files
committed
Suppress min/max macro's if Windows is the target
1 parent ba9445d commit 4957189

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

headers/modsecurity/rules_set_properties.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
*
1414
*/
1515

16+
#ifdef WIN32
17+
#ifdef max
18+
#undef max
19+
#endif
20+
#ifdef min
21+
#undef min
22+
#endif
23+
#endif
1624

1725
#ifdef __cplusplus
1826
#include <ctime>

0 commit comments

Comments
 (0)