mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
Fix stdint.h problem for Apple.
* gl/stdint_.h [__APPLE__]: Include hack. -- Patch suggested by Patrick Brunschwig.
This commit is contained in:
parent
158fe90018
commit
f5592fcff3
@ -55,6 +55,13 @@
|
|||||||
# include @ABSOLUTE_STDINT_H@
|
# include @ABSOLUTE_STDINT_H@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
/* Apple's implementation of <stdint.h> is bugy; we therefore use
|
||||||
|
the source definitions. */
|
||||||
|
# include <_types/_intmax_t.h>
|
||||||
|
# include <_types/_uintmax_t.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* <sys/types.h> defines some of the stdint.h types as well, on glibc,
|
/* <sys/types.h> defines some of the stdint.h types as well, on glibc,
|
||||||
IRIX 6.5, and OpenBSD 3.8 (via <machine/types.h>).
|
IRIX 6.5, and OpenBSD 3.8 (via <machine/types.h>).
|
||||||
MacOS X 10.4.6 <sys/types.h> includes <stdint.h> (which is us), but
|
MacOS X 10.4.6 <sys/types.h> includes <stdint.h> (which is us), but
|
||||||
|
Loading…
x
Reference in New Issue
Block a user