summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnonymous Maarten <anonymous.maarten@gmail.com>2020-12-06 20:26:40 +0100
committershfil <filip.gawin@zoho.com>2020-12-06 20:46:11 +0100
commit12d3893fe9454cac13d14c39abcb829fd43caabe (patch)
treeaa5b7632eae660b6c6e471a33967f14aa703c27a
parentinttypes.h is part of the C++ standard, so prefix it (diff)
downloadre3-12d3893fe9454cac13d14c39abcb829fd43caabe.tar
re3-12d3893fe9454cac13d14c39abcb829fd43caabe.tar.gz
re3-12d3893fe9454cac13d14c39abcb829fd43caabe.tar.bz2
re3-12d3893fe9454cac13d14c39abcb829fd43caabe.tar.lz
re3-12d3893fe9454cac13d14c39abcb829fd43caabe.tar.xz
re3-12d3893fe9454cac13d14c39abcb829fd43caabe.tar.zst
re3-12d3893fe9454cac13d14c39abcb829fd43caabe.zip
-rw-r--r--src/audio/oal/stream.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/audio/oal/stream.cpp b/src/audio/oal/stream.cpp
index 3adb702a..90e90dd8 100644
--- a/src/audio/oal/stream.cpp
+++ b/src/audio/oal/stream.cpp
@@ -10,13 +10,15 @@
#ifdef _WIN32
#pragma comment( lib, "libsndfile-1.lib" )
#pragma comment( lib, "libmpg123-0.lib" )
-#else
-#include "crossplatform.h"
#endif
#include <sndfile.h>
#include <mpg123.h>
#endif
+#ifndef _WIN32
+#include "crossplatform.h"
+#endif
+
#ifndef AUDIO_OPUS
class CSndFile : public IDecoder
{