about summary refs log tree commit diff
path: root/sysvipc
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-10-01 14:34:08 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-12-15 11:03:32 +0530
commitf338c36269e4a2b87216db22b5bda71279f66a1d (patch)
tree28bd00d11ced48059342fb8dc50248329f27d221 /sysvipc
parente4f639e4a106d90c6f3159230788653fd6e40a26 (diff)
downloadglibc-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 'sysvipc')
0 files changed, 0 insertions, 0 deletions