mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-29 20:36:47 +08:00
Cygwin now has a native inttypes.h that works better than the custom one.
Originally committed as revision 4251 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
4
configure
vendored
4
configure
vendored
@ -314,10 +314,6 @@ ffserver="no"
|
|||||||
extralibs=""
|
extralibs=""
|
||||||
cygwin="yes"
|
cygwin="yes"
|
||||||
EXESUF=".exe"
|
EXESUF=".exe"
|
||||||
test -f /usr/include/inttypes.h || \
|
|
||||||
test -f /usr/local/include/inttypes.h || \
|
|
||||||
echo "Missing inttypes.h, please copy cygwin_inttypes.h to" \
|
|
||||||
"/usr/local/include/inttypes.h !!!"
|
|
||||||
;;
|
;;
|
||||||
Linux)
|
Linux)
|
||||||
LDFLAGS="$LDFLAGS -rdynamic"
|
LDFLAGS="$LDFLAGS -rdynamic"
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
#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 */
|
|
||||||
|
|
Reference in New Issue
Block a user