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.

View File

@ -11,9 +11,6 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif
#include <maxscale/cdefs.h>
#include <stdlib.h>