diff options
author | Stefan Metzmacher <metze@samba.org> | 2019-01-27 20:27:42 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-01-29 22:09:07 +0100 |
commit | b2050db67b47ab5d8ac9bf5b223b3a3289eb854e (patch) | |
tree | 57669b91e0e53c57f20ed974b85650558b7d9c28 /third_party | |
parent | e49df24e80a1c0bc2a1cc46c026e2aebfd5d6ddd (diff) | |
download | samba-b2050db67b47ab5d8ac9bf5b223b3a3289eb854e.tar.gz |
wafsamba/replace: move __STDC_WANT_LIB_EXT1__ to CFLAGS
This fixes the build of python bindings, which use memset_s()
(via ZERO_STRUCT).
In python bindings Python.h needs to be the first header, which means
is already includes string.h. Defining __STDC_WANT_LIB_EXT1__ in
replace.h is too late in that case.
This fixes the --check-c-compiler=gcc --picky-developer on FreeBSD 12.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'third_party')
0 files changed, 0 insertions, 0 deletions