diff options
| -rw-r--r-- | maximilian.cpp | 2 | ||||
| -rwxr-xr-x | maximilian.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/maximilian.cpp b/maximilian.cpp index adbb97d..8884e52 100644 --- a/maximilian.cpp +++ b/maximilian.cpp @@ -560,6 +560,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 c292598..fad99f2 100755 --- a/maximilian.h +++ b/maximilian.h @@ -40,6 +40,7 @@ #include <iostream> #include <fstream> #include <string.h> +#include <cassert> #include <cstdlib> #include "math.h" #ifdef _WIN32 //|| _WIN64 |
