Define _GNU_SOURCE in include/maxscale/cdefs.h
This commit is contained in:
@ -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.
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user