# HG changeset patch # User diego # Date 1075453648 0 # Node ID dae8bc96fb154609b050c3a0df65301a3c29710a # Parent 3fb540a37e78e7efef85cc55ba1a42d3f3a1280d Simplified support for libc5 systems. diff -r 3fb540a37e78 -r dae8bc96fb15 configure --- a/configure Fri Jan 30 08:59:01 2004 +0000 +++ b/configure Fri Jan 30 09:07:28 2004 +0000 @@ -2148,9 +2148,9 @@ _inttypes=no cc_check && _inttypes=yes if test "$_inttypes" = yes ; then - die "you don't have inttypes.h, but sys/bitypes.h is present. Please copy etc/inttypes.h.link into the include path, rename it to inttypes.h and re-run configure." + die "You don't have inttypes.h, but sys/bitypes.h is present. Please copy etc/inttypes.h into the include path, and re-run configure." else - die "cannot find header either inttypes.h or bitypes.h (see DOCS/HTML/en/faq.html)" + die "Cannot find header either inttypes.h or bitypes.h (see DOCS/HTML/en/faq.html)." fi fi echores "$_inttypes" diff -r 3fb540a37e78 -r dae8bc96fb15 etc/inttypes.h --- a/etc/inttypes.h Fri Jan 30 08:59:01 2004 +0000 +++ b/etc/inttypes.h Fri Jan 30 09:07:28 2004 +0000 @@ -1,13 +1,4 @@ // fallback if the user doesn't have inttypes.h (libc5 systems) -typedef unsigned char uint8_t; -typedef unsigned short uint16_t; -typedef unsigned long uint32_t; -typedef unsigned long long uint64_t; - -typedef signed char int8_t; -typedef signed short int16_t; -typedef signed long int32_t; -typedef signed long long int64_t; - +#include diff -r 3fb540a37e78 -r dae8bc96fb15 etc/inttypes.h.link --- a/etc/inttypes.h.link Fri Jan 30 08:59:01 2004 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ - -// fallback if the user doesn't have inttypes.h (libc5 systems) - -#include