]> jfr.im git - irc/evilnet/znc.git/commitdiff
Fix build on OS X after fixing build on Cygwin
authorAlexey Sokolov <redacted>
Thu, 8 Sep 2016 23:17:20 +0000 (00:17 +0100)
committerAlexey Sokolov <redacted>
Thu, 8 Sep 2016 23:17:20 +0000 (00:17 +0100)
src/Utils.cpp

index 2584c50a9c4ba17b625c91c4730a06b41f41f95f..63992ef10ea0f9186ecfa871a34661c25425c3d6 100644 (file)
  * limitations under the License.
  */
 
+#ifdef __CYGWIN__
 #ifndef _XOPEN_SOURCE
 // strptime() wants this
 #define _XOPEN_SOURCE 600
 #endif
+#endif
 
 #include <znc/Utils.h>
 #include <znc/ZNCDebug.h>