Add typedef ulong needed by MySQL/my_global.h

Add typedef ulong needed by MySQL/my_global.h but invisible on Cygwin with defined constant XOPEN_SOURCE=500
This commit is contained in:
zosrothko 2016-08-30 17:12:05 +02:00 committed by GitHub
parent 2a9dffc5d8
commit d194e570dc

View File

@ -35,6 +35,12 @@
#define HAVE_STRUCT_TIMESPEC
#endif
#if (POCO_OS == POCO_OS_CYGWIN)
typedef unsigned short ushort; /* System V compatibility */
typedef unsigned int uint; /* System V compatibility */
typedef unsigned long ulong; /* System V compatibility */
#endif
#include <my_global.h>
#include <mysql.h>