Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Mueller <nexyon@gmail.com>2010-08-16 19:38:55 +0400
committerJoerg Mueller <nexyon@gmail.com>2010-08-16 19:38:55 +0400
commit1c17760105d690bf9656c8b7e4501f6eb39e3c08 (patch)
treed6f8344594db3550608666e09cfedd394b47f62f /intern/audaspace
parenta3837b617b9df268a1dba40848df446b53ed1a01 (diff)
Audaspace: Trying to fix a reported compile bug about missing UINT64_C.
Diffstat (limited to 'intern/audaspace')
-rw-r--r--intern/audaspace/intern/AUD_C-API.cpp10
-rw-r--r--intern/audaspace/intern/AUD_FileFactory.cpp12
2 files changed, 11 insertions, 11 deletions
diff --git a/intern/audaspace/intern/AUD_C-API.cpp b/intern/audaspace/intern/AUD_C-API.cpp
index a0c56257228..291f0539905 100644
--- a/intern/audaspace/intern/AUD_C-API.cpp
+++ b/intern/audaspace/intern/AUD_C-API.cpp
@@ -30,15 +30,15 @@ Device* g_device;
bool g_pyinitialized = false;
#endif
-#include <cstdlib>
-#include <cstring>
-#include <cmath>
-
-#ifndef __STDC_CONSTANT_MACROS
// needed for INT64_C
+#ifndef __STDC_CONSTANT_MACROS
#define __STDC_CONSTANT_MACROS
#endif
+#include <cstdlib>
+#include <cstring>
+#include <cmath>
+
#include "AUD_NULLDevice.h"
#include "AUD_I3DDevice.h"
#include "AUD_FileFactory.h"
diff --git a/intern/audaspace/intern/AUD_FileFactory.cpp b/intern/audaspace/intern/AUD_FileFactory.cpp
index 7ee34b2dc5a..986fc6c109a 100644
--- a/intern/audaspace/intern/AUD_FileFactory.cpp
+++ b/intern/audaspace/intern/AUD_FileFactory.cpp
@@ -23,19 +23,19 @@
* ***** END LGPL LICENSE BLOCK *****
*/
-#include "AUD_FileFactory.h"
-#include "AUD_Buffer.h"
-
-#include <cstring>
-
#ifdef WITH_FFMPEG
// needed for INT64_C
#ifndef __STDC_CONSTANT_MACROS
#define __STDC_CONSTANT_MACROS
#endif
-
#include "AUD_FFMPEGReader.h"
#endif
+
+#include "AUD_FileFactory.h"
+#include "AUD_Buffer.h"
+
+#include <cstring>
+
#ifdef WITH_SNDFILE
#include "AUD_SndFileReader.h"
#endif