Fix mac build, part 2.
This commit is contained in:
parent
c9f574c27b
commit
032a30f676
@ -43,6 +43,14 @@
|
|||||||
#include <my_sys.h>
|
#include <my_sys.h>
|
||||||
#include <mysql.h>
|
#include <mysql.h>
|
||||||
|
|
||||||
|
// On macOS, the MySQL includes define min/max.
|
||||||
|
#if defined(min)
|
||||||
|
# undef min
|
||||||
|
#endif
|
||||||
|
#if defined(max)
|
||||||
|
# undef max
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <sh_string.h>
|
#include <sh_string.h>
|
||||||
#include <sh_list.h>
|
#include <sh_list.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user