From debfdf6c02cc922a4e5a7b42eb5b608267c34fb5 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Fri, 9 Sep 2016 00:17:20 +0100 Subject: [PATCH] Fix build on OS X after fixing build on Cygwin --- src/Utils.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Utils.cpp b/src/Utils.cpp index 2584c50a..63992ef1 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -14,10 +14,12 @@ * limitations under the License. */ +#ifdef __CYGWIN__ #ifndef _XOPEN_SOURCE // strptime() wants this #define _XOPEN_SOURCE 600 #endif +#endif #include #include