1 --- libfaad/bits.h 2004-03-11 14:32:39.000000000 +0100
2 +++ libfaad2/bits.h 2004-06-24 10:47:02.000000000 +0200
5 #if defined (_WIN32) && !defined(_WIN32_WCE) && !defined(__MINGW32__)
6 #define BSWAP(a) __asm mov eax,a __asm bswap eax __asm mov a, eax
7 -#elif defined(LINUX) || defined(DJGPP) || defined(__MINGW32__)
8 +#elif defined(LINUX) || defined(DJGPP)
9 #define BSWAP(a) __asm__ ( "bswapl %0\n" : "=r" (a) : "0" (a) )
12 --- libfaad/common.h 2004-06-30 14:45:56.000000000 +0200
13 +++ libfaad2/common.h 2004-10-19 03:16:03.000000000 +0200
19 -# include "../config.h"
20 +/* Allow build on Cygwin*/
21 +#if defined(__CYGWIN__)
22 +#define __STRICT_ANSI__
25 +#include "../config.h"
27 #define INLINE __inline
28 #if 0 //defined(_WIN32) && !defined(_WIN32_WCE)
29 #define ALIGN __declspec(align(16))
45 typedef unsigned __int64 uint64_t;
46 typedef unsigned __int32 uint32_t;
47 typedef unsigned __int16 uint16_t;
49 typedef __int32 int32_t;
50 typedef __int16 int16_t;
51 typedef __int8 int8_t;
53 +#include <inttypes.h>
56 typedef float float32_t;
61 +/* #undef HAVE_FLOAT32_T */
62 +/* Define if you have the <inttypes.h> header file. */
63 +#define HAVE_INTTYPES_H 1
65 +/* Define if you have the `memcpy' function. */
66 +#define HAVE_MEMCPY 1
68 +/* Define if you have the <stdint.h> header file. */
69 +#define HAVE_STDINT_H 1
71 +/* Define if you have the `strchr' function. */
72 +#define HAVE_STRCHR 1
74 +/* Define if you have the ANSI C header files. */
75 +#define STDC_HEADERS 1
79 # include <sys/types.h>
84 - #elif (defined(__i386__) && defined(__GNUC__))
85 + #elif (defined(__i386__) && defined(__GNUC__)) && !defined(__MINGW32__)
87 // from http://www.stereopsis.com/FPU.html
88 static INLINE int lrintf(float f)
97 # define _ISOC9X_SOURCE 1
99 # define __USE_ISOC99 1