From d194e570dcd6b87fe4e712104815f1763e466a0f Mon Sep 17 00:00:00 2001 From: zosrothko Date: Tue, 30 Aug 2016 17:12:05 +0200 Subject: [PATCH] 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 --- Data/MySQL/testsuite/src/SQLExecutor.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Data/MySQL/testsuite/src/SQLExecutor.cpp b/Data/MySQL/testsuite/src/SQLExecutor.cpp index 9a16229a3..f76edf250 100644 --- a/Data/MySQL/testsuite/src/SQLExecutor.cpp +++ b/Data/MySQL/testsuite/src/SQLExecutor.cpp @@ -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 #include