summaryrefslogtreecommitdiff
path: root/modules/stdint
blob: 3bc0be117f367fa6942037b55bc66113e937301a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description:
An <stdint.h> that nearly conforms to C99.
(Nearly: {uint,int}_{fast,least}{8,16,32,64}_t may not correspond
to the fastest and smallest types available on the system.)

Files:
lib/stdint_.h
m4/stdint.m4
m4/inttypes.m4

Depends-on:

configure.ac:
gl_STDINT_H

Makefile.am:
BUILT_SOURCES += $(STDINT_H)
EXTRA_DIST += stdint_.h

# We need the following in order to create <stdint.h> when the system
# doesn't have one that works with the given compiler.
stdint.h: stdint_.h
	sed -e 's/@''HAVE_LONG_64BIT''@/$(HAVE_LONG_64BIT)/g;s/@''HAVE_LONG_LONG_64BIT@/$(HAVE_LONG_LONG_64BIT)/g' < $(srcdir)/stdint_.h > $@-t
	mv $@-t $@
MOSTLYCLEANFILES += stdint.h stdint.h-t

Include:
#include <stdint.h>

License:
LGPL

Maintainer:
all