summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-22 20:26:31 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-22 20:26:31 +0200
commita9f332f2d96b6a8b6f83b5da5c1c320d2ff4eab2 (patch)
treec66aa5664ad6a7a5cb32c3d5a30367e6a50ecfa6 /src
parentI am an idiot (diff)
downloadre3-a9f332f2d96b6a8b6f83b5da5c1c320d2ff4eab2.tar
re3-a9f332f2d96b6a8b6f83b5da5c1c320d2ff4eab2.tar.gz
re3-a9f332f2d96b6a8b6f83b5da5c1c320d2ff4eab2.tar.bz2
re3-a9f332f2d96b6a8b6f83b5da5c1c320d2ff4eab2.tar.lz
re3-a9f332f2d96b6a8b6f83b5da5c1c320d2ff4eab2.tar.xz
re3-a9f332f2d96b6a8b6f83b5da5c1c320d2ff4eab2.tar.zst
re3-a9f332f2d96b6a8b6f83b5da5c1c320d2ff4eab2.zip
Diffstat (limited to 'src')
-rw-r--r--src/audio/oal/stream.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audio/oal/stream.cpp b/src/audio/oal/stream.cpp
index 34518f54..c70cd2c1 100644
--- a/src/audio/oal/stream.cpp
+++ b/src/audio/oal/stream.cpp
@@ -8,11 +8,12 @@
typedef long ssize_t;
#pragma comment( lib, "libsndfile-1.lib" )
#pragma comment( lib, "libmpg123.lib" )
-#else
-#include "crossplatform.h"
#endif
#include <sndfile.h>
#include <mpg123.h>
+#ifndef _WIN32
+#include "crossplatform.h"
+#endif
class CSndFile : public IDecoder
{