mingw and maybe other system define the __int* types to char, short..., so the typedefs become typedef char char; etc.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15692 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2005-06-07 13:54:17 +00:00
parent 331bd69913
commit 869decabf8
1 changed files with 16 additions and 0 deletions

View File

@ -36,17 +36,33 @@ extern "C" {
#ifndef __INTEL_COMPILER #ifndef __INTEL_COMPILER
#ifndef __int8
typedef char __int8; typedef char __int8;
#endif
#ifndef __uint8
typedef unsigned char __uint8; typedef unsigned char __uint8;
#endif
#ifndef __int16
typedef short __int16; typedef short __int16;
#endif
#ifndef __uint16
typedef unsigned short __uint16; typedef unsigned short __uint16;
#endif
#ifndef __int32
typedef int __int32; typedef int __int32;
#endif
#ifndef __uint32
typedef unsigned int __uint32; typedef unsigned int __uint32;
#endif
#ifndef __int64
typedef long long __int64; typedef long long __int64;
#endif
#ifndef __uint64
typedef unsigned long long __uint64; typedef unsigned long long __uint64;
#endif
#else #else