Fix build on OS X after fixing build on Cygwin

This commit is contained in:
Alexey Sokolov committed 2016-09-09 00:17:20 +01:00
1 parent 9974b6692b
commit debfdf6c02
1 file changed
+2
+2
View File
@@ -14,10 +14,12 @@
* 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>