Feature defines moved to <maxscale/cdefs.h>

Feature defines that affect the available functionality or the
compile time environment should be defined in a common way for
all source.
This commit is contained in:
Johan Wikman 2016-10-27 14:08:58 +03:00
parent 6cc7a26582
commit a390331e42
2 changed files with 5 additions and 2 deletions

View File

@ -33,6 +33,9 @@
# define MXS_END_DECLS
#endif
#define _XOPEN_SOURCE 700
#define OPENSSL_THREAD_DEFINES
/**
* Define intended for use with strerror.
*

View File

@ -34,8 +34,8 @@
* 19/01/16 Markus Makela Set cwd to log directory
* @endverbatim
*/
#define _XOPEN_SOURCE 700
#define OPENSSL_THREAD_DEFINES
#include <maxscale/cdefs.h>
#include <my_config.h>
#include <openssl/opensslconf.h>