ptsname_r: Fix a compiler warning on Solaris.
[gnulib.git] / modules / stdint
blob25b9d7fa258ab01d76c31afc002326b55e265193
1 Description:
2 A GNU-like <stdint.h>.
3 It nearly conforms to C99 and to ISO/IEC TS 18661-1:2014.
4 Assumes typical host with 8-bit bytes, two's complement
5 representation, and no padding or trap representations, with int
6 widths equal to 8, 16, 32, and 64 bits.  {uint,int}_fast{8,16,32,64}_t
7 may not correspond to the fastest types available on the system.
8 Macros are used instead of typedefs.
10 Files:
11 lib/stdint.in.h
12 m4/stdint.m4
13 m4/wint_t.m4
15 Depends-on:
16 include_next
17 limits-h
18 multiarch
19 sys_types
21 configure.ac:
22 gl_STDINT_H
24 Makefile.am:
25 BUILT_SOURCES += $(STDINT_H)
27 # We need the following in order to create <stdint.h> when the system
28 # doesn't have one that works with the given compiler.
29 if GL_GENERATE_STDINT_H
30 stdint.h: stdint.in.h $(top_builddir)/config.status
31         $(AM_V_GEN)rm -f $@-t $@ && \
32         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
33           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
34               -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
35               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
36               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
37               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
38               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
39               -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \
40               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
41               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
42               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
43               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
44               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
45               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
46               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
47               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
48               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
49               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
50               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
51               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
52               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
53               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
54               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
55               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
56               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
57               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
58               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
59               -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \
60               < $(srcdir)/stdint.in.h; \
61         } > $@-t && \
62         mv $@-t $@
63 else
64 stdint.h: $(top_builddir)/config.status
65         rm -f $@
66 endif
67 MOSTLYCLEANFILES += stdint.h stdint.h-t
69 Include:
70 <stdint.h>
72 License:
73 LGPLv2+
75 Maintainer:
76 all