Define _GNU_SOURCE in include/maxscale/cdefs.h

This commit is contained in:
Johan Wikman
2017-01-04 09:55:52 +02:00
parent 33d98830dd
commit 801c6cfbef
2 changed files with 5 additions and 5 deletions

View File

@ -33,8 +33,11 @@
# define MXS_END_DECLS
#endif
#define _XOPEN_SOURCE 700
#define OPENSSL_THREAD_DEFINES
#undef _GNU_SOURCE
#define _GNU_SOURCE 1
#undef OPENSSL_THREAD_DEFINES
#define OPENSSL_THREAD_DEFINES 1
/**
* Define intended for use with strerror.