diff --git a/extensions/mysql/mysql/MyDriver.h b/extensions/mysql/mysql/MyDriver.h index 3d2d9351..0109f431 100644 --- a/extensions/mysql/mysql/MyDriver.h +++ b/extensions/mysql/mysql/MyDriver.h @@ -43,6 +43,14 @@ #include #include +// On macOS, the MySQL includes define min/max. +#if defined(min) +# undef min +#endif +#if defined(max) +# undef max +#endif + #include #include