Do the Windows oldnames workaround through the C++ GNULIB_NAMESPACE.
[gnulib.git] / modules / stddef
blob99794a9c6afba2a7617bbbd464aef1693b7db926
1 Description:
2 A <stddef.h> that works around platform issues.
4 Files:
5 lib/stddef.in.h
6 m4/stddef_h.m4
7 m4/wchar_t.m4
9 Depends-on:
10 include_next
12 configure.ac:
13 gl_STDDEF_H
15 Makefile.am:
16 BUILT_SOURCES += $(STDDEF_H)
18 # We need the following in order to create <stddef.h> when the system
19 # doesn't have one that works with the given compiler.
20 if GL_GENERATE_STDDEF_H
21 stddef.h: stddef.in.h $(top_builddir)/config.status
22         $(AM_V_GEN)rm -f $@-t $@ && \
23         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
24           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
25               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
26               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
27               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
28               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
29               -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
30               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
31               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
32               < $(srcdir)/stddef.in.h; \
33         } > $@-t && \
34         mv $@-t $@
35 else
36 stddef.h: $(top_builddir)/config.status
37         rm -f $@
38 endif
39 MOSTLYCLEANFILES += stddef.h stddef.h-t
41 Include:
42 <stddef.h>
44 License:
45 LGPLv2+
47 Maintainer:
48 all