diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-10-01 14:34:08 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-12-15 11:03:32 +0530 |
commit | f338c36269e4a2b87216db22b5bda71279f66a1d (patch) | |
tree | 28bd00d11ced48059342fb8dc50248329f27d221 /string/tst-bswap.c | |
parent | e4f639e4a106d90c6f3159230788653fd6e40a26 (diff) | |
download | glibc-f338c36269e4a2b87216db22b5bda71279f66a1d.tar.gz glibc-f338c36269e4a2b87216db22b5bda71279f66a1d.tar.xz glibc-f338c36269e4a2b87216db22b5bda71279f66a1d.zip |
Remove Wundef warnings for specification macros
This patch adds a file conf.list that is used to generate macros to determine if a macro is defined as set, unset or not defined. gen-conf.awk processes this file and generates a header (confdefs-defs.h) with these macros. A new header confdefs.h includes this generated header and defines accessor macros for the generated macros. Tested on x86_64. * posix/Makefile (before-compile): Add confdefs-defs.h. ($(objpfx)confdefs-defs.h): New target. * posix/conf.list: New file. * posix/confdefs.h: New file. * posix/confstr.c: Include confdefs.h. (confstr): Use CONF_IS_* macros. * posix/posix-envs.def: Include confdefs.h. Use CONF_IS_* macros. * scripts/gen-conf.awk: New file.
Diffstat (limited to 'string/tst-bswap.c')
0 files changed, 0 insertions, 0 deletions