[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
stdint tweak
From: |
Bruno Haible |
Subject: |
stdint tweak |
Date: |
Sat, 17 Jun 2006 22:00:53 +0200 |
User-agent: |
KMail/1.9.1 |
Here's another committed tweak of the stdint module. Takes into account
that FreeBSD 5 doesn't have a <sys/inttypes.h> any more. It has
<stdint.h> and <inttypes.h> instead.
Bruno
2006-06-17 Bruno Haible <address@hidden>
* m4/stdint.m4 (gl_STDINT_H) [FreeBSD >= 5]: Don't include
<sys/inttypes.h>.
* lib/stdint_.h [FreeBSD >= 5]: Don't include <sys/inttypes.h>.
*** m4/stdint.m4 16 Jun 2006 13:29:51 -0000 1.5
--- m4/stdint.m4 17 Jun 2006 20:01:03 -0000
***************
*** 87,93 ****
dnl created in the build directory.
other_includes='
/* Get those types that are already defined in other system include files. */
! #if defined(__FreeBSD__)
# include <sys/inttypes.h>
#endif
#if defined(__OpenBSD__)
--- 87,93 ----
dnl created in the build directory.
other_includes='
/* Get those types that are already defined in other system include files. */
! #if defined(__FreeBSD__) && (__FreeBSD__ >= 3) && (__FreeBSD__ <= 4)
# include <sys/inttypes.h>
#endif
#if defined(__OpenBSD__)
*** lib/stdint_.h 17 Jun 2006 19:33:36 -0000 1.16
--- lib/stdint_.h 17 Jun 2006 20:01:03 -0000
***************
*** 30,36 ****
#include <limits.h>
/* Get those types that are already defined in other system include files. */
! #if defined(__FreeBSD__)
# include <sys/inttypes.h>
#endif
#if defined(__OpenBSD__)
--- 30,36 ----
#include <limits.h>
/* Get those types that are already defined in other system include files. */
! #if defined(__FreeBSD__) && (__FreeBSD__ >= 3) && (__FreeBSD__ <= 4)
# include <sys/inttypes.h>
#endif
#if defined(__OpenBSD__)
- stdint tweak,
Bruno Haible <=