changeset 13685:ebd158d142f7

Fix playback on big-endian systems. patch by Nicolas Plourde and adland123 <adland123 at yahoo dot com>
author diego
date Tue, 19 Oct 2004 01:16:03 +0000
parents af465f23bd1d
children f1f20b06aa4a
files libfaad2/common.h
diffstat 1 files changed, 3 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/libfaad2/common.h	Mon Oct 18 21:16:45 2004 +0000
+++ b/libfaad2/common.h	Tue Oct 19 01:16:03 2004 +0000
@@ -39,9 +39,7 @@
 #define __STRICT_ANSI__
 #endif
 
-#ifdef HAVE_CONFIG_H
-#  include "../config.h"
-#endif
+#include "../config.h"
 
 #define INLINE __inline
 #if 0 //defined(_WIN32) && !defined(_WIN32_WCE)
@@ -201,10 +199,6 @@
 /* Define if you have the ANSI C header files. */
 #define STDC_HEADERS 1
 
-#ifdef HAVE_CONFIG_H
-#  include "../config.h"
-#endif
-
 #include <stdio.h>
 #if HAVE_SYS_TYPES_H
 # include <sys/types.h>
@@ -375,6 +369,8 @@
 
   #else
 
+#include <math.h>
+
 #ifdef HAVE_LRINTF
 #  define HAS_LRINTF
 #  define _ISOC9X_SOURCE 1
@@ -383,8 +379,6 @@
 #  define __USE_ISOC99   1
 #endif
 
-    #include <math.h>
-
 #ifdef HAVE_SINF
 #  define sin sinf
 #error