diff options
-rw-r--r-- | backends/null/null.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/null/null.cpp b/backends/null/null.cpp index 0d6a21927a..38c595a4c2 100644 --- a/backends/null/null.cpp +++ b/backends/null/null.cpp @@ -24,6 +24,8 @@ #include "system.h" +#if defined(USE_NULL_DRIVER) + /* NULL video driver */ class OSystem_NULL : public OSystem { public: @@ -90,3 +92,5 @@ OSystem *OSystem_NULL_create() { OSystem *OSystem_NULL_create() { return NULL; } + +#endif |