1
mirror of https://github.com/mpv-player/mpv synced 2025-03-15 03:14:30 +01:00

Simplified support for libc5 systems.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11891 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2004-01-30 09:07:28 +00:00
parent 480be09d35
commit 44d67d88e1
3 changed files with 3 additions and 16 deletions

4
configure vendored
View File

@ -2148,9 +2148,9 @@ EOF
_inttypes=no _inttypes=no
cc_check && _inttypes=yes cc_check && _inttypes=yes
if test "$_inttypes" = yes ; then 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 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
fi fi
echores "$_inttypes" echores "$_inttypes"

View File

@ -1,13 +1,4 @@
// fallback if the user doesn't have inttypes.h (libc5 systems) // fallback if the user doesn't have inttypes.h (libc5 systems)
typedef unsigned char uint8_t; #include <sys/bitypes.h>
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;

View File

@ -1,4 +0,0 @@
// fallback if the user doesn't have inttypes.h (libc5 systems)
#include <sys/bitypes.h>