aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--maximilian.cpp2
-rwxr-xr-xmaximilian.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/maximilian.cpp b/maximilian.cpp
index 0d9bcfd..b0c0b5e 100644
--- a/maximilian.cpp
+++ b/maximilian.cpp
@@ -751,6 +751,8 @@ bool maxiSample::loadOgg(string fileName, int channel) {
}
}
return result; // this should probably be something more descriptive
+#else
+ assert(false); // called but VORBIS not defined!
#endif
return 0;
}
diff --git a/maximilian.h b/maximilian.h
index 2e8593d..11089fe 100755
--- a/maximilian.h
+++ b/maximilian.h
@@ -39,6 +39,7 @@
#include <iostream>
#include <fstream>
#include <string.h>
+#include <cassert>
#include <cstdlib>
#include "math.h"
#include <cerrno>