diff options
author | Felix Bünemann <atmosfear@users.sourceforge.net> | 2002-08-30 19:34:55 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-08-30 19:34:55 +0000 |
commit | 3f027ca76cb1424fa1c80bf76499e089921f537b (patch) | |
tree | 427dd2163284f0783208fb6eb457051fedf693c7 /cygwin_inttypes.h | |
parent | c7e079314bc47ed09826ec343f4582226c6ed296 (diff) | |
download | ffmpeg-3f027ca76cb1424fa1c80bf76499e089921f537b.tar.gz |
cygwin patch by (Felix Buenemann <atmosfear at users dot sourceforge dot net>)
Originally committed as revision 883 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cygwin_inttypes.h')
-rw-r--r-- | cygwin_inttypes.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cygwin_inttypes.h b/cygwin_inttypes.h new file mode 100644 index 0000000000..0c17b1d1d1 --- /dev/null +++ b/cygwin_inttypes.h @@ -0,0 +1,29 @@ +#ifndef _CYGWIN_INTTYPES_H +#define _CYGWIN_INTTYPES_H +/* /usr/include/inttypes.h for CYGWIN + * Copyleft 2001-2002 by Felix Buenemann + * <atmosfear at users.sourceforge.net> + * + * Should be installed into /usr/include + * as inttypes.h + */ +#if 0 +typedef char * caddr_t; +typedef char int8_t; +typedef unsigned char u_int8_t; +typedef short int16_t; +typedef unsigned short u_int16_t; +typedef int int32_t; +typedef unsigned int u_int32_t; +typedef long long int64_t; +typedef unsigned long long u_int64_t; +typedef int32_t register_t; +#else +#include <sys/types.h> +#endif /* 0/1 */ +typedef u_int8_t uint8_t; +typedef u_int16_t uint16_t; +typedef u_int32_t uint32_t; +typedef u_int64_t uint64_t; +#endif /* _CYGWIN_INTTYPES_H */ + |