Fix build on OS X after fixing build on Cygwin

This commit is contained in:
Alexey Sokolov
2016-09-09 00:17:20 +01:00
parent 9974b6692b
commit debfdf6c02

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>