diff --git a/tier0/dbg.cpp b/tier0/dbg.cpp index 2247a375..83205eef 100644 --- a/tier0/dbg.cpp +++ b/tier0/dbg.cpp @@ -380,7 +380,7 @@ static SpewRetval_t _SpewMessage( SpewType_t spewType, const char *pGroupName, i /* direct it to the appropriate target(s) */ SpewRetval_t ret; - assert( g_pSpewInfo == NULL ); + assert( g_pSpewInfo == (void*)NULL ); SpewInfo_t spewInfo = { pColor, diff --git a/wscript b/wscript index 40d865c6..44ef3ca1 100644 --- a/wscript +++ b/wscript @@ -155,6 +155,7 @@ def define_platform(conf): conf.env.append_unique('DEFINES', ['TOGLES']) if conf.options.SDL: + conf.env.SDL = 1 conf.define('USE_SDL', 1) if conf.options.ALLOW64: