Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-05-08 11:42:19 +0000
committerStijn Buys <ingar@osirion.org>2011-05-08 11:42:19 +0000
commitf0d632ac59896570e809757cb133aa570dbfa1f4 (patch)
tree93ea7bf2cea5fa2947b38898f8085300d498f60f
parent1a35dffad7156592c6e983776b470a4108960bd3 (diff)
Corrected a compile error on win32.
-rw-r--r--src/audio/vorbisfile.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/audio/vorbisfile.cc b/src/audio/vorbisfile.cc
index 572b945..74df9b0 100644
--- a/src/audio/vorbisfile.cc
+++ b/src/audio/vorbisfile.cc
@@ -13,6 +13,14 @@
#include "filesystem/filesystem.h"
#include "sys/sys.h"
+#ifdef _WIN32
+/*
+ READ vorbisfile.h!
+ This works because I have a clean development environment
+*/
+#define OV_EXCLUDE_STATIC_CALLBACKS
+#endif
+
#include <vorbis/codec.h>
#include <vorbis/vorbisfile.h>