summaryrefslogtreecommitdiffstats
path: root/libSYS
diff options
context:
space:
mode:
authorMark Harris <mark.hsj@gmail.com>2014-05-26 12:31:40 -0700
committerMark Harris <mark.hsj@gmail.com>2014-05-26 12:31:40 -0700
commitb8f6c140ce4dbf403eb7a2a3f7fe45e7def2f40e (patch)
tree53469661280b1b32030aa956306654eec1d08909 /libSYS
parentc15b653b99fbf573ff0aaa2b8c579b0cae693f9c (diff)
downloadfdk-aac-b8f6c140ce4dbf403eb7a2a3f7fe45e7def2f40e.tar.gz
fdk-aac-b8f6c140ce4dbf403eb7a2a3f7fe45e7def2f40e.tar.bz2
fdk-aac-b8f6c140ce4dbf403eb7a2a3f7fe45e7def2f40e.zip
Fix AIX build
Fix AIX build failure with IBM xlC compiler due to conflicting definition of M_PI. The libSYS/include/genericStds.h definition is guarded with #ifndef M_PI, but was included before <math.h> which defines M_PI with more significant digits.
Diffstat (limited to 'libSYS')
-rw-r--r--libSYS/src/genericStds.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libSYS/src/genericStds.cpp b/libSYS/src/genericStds.cpp
index f0199fb..ef1d4c2 100644
--- a/libSYS/src/genericStds.cpp
+++ b/libSYS/src/genericStds.cpp
@@ -92,10 +92,10 @@ amm-info@iis.fraunhofer.de
#define _CRT_SECURE_NO_WARNINGS
-#include "genericStds.h"
-
#include <math.h>
+#include "genericStds.h"
+
/* library info */
#define SYS_LIB_VL0 1
#define SYS_LIB_VL1 3