From 21902cf8860f46cfb19697ba7df83d3bb488447f Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Fri, 4 Mar 2011 13:55:59 +0100 Subject: source: Replace #ifdef with working #if defined() The #ifdef preprocessor directive only accepts a macro name, not a complete expression. For expressions, use "#if defined(foo) || defined(bar)". --- insertutils/insertppm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/insertutils/insertppm.cc b/insertutils/insertppm.cc index f1ce393..cb8720b 100644 --- a/insertutils/insertppm.cc +++ b/insertutils/insertppm.cc @@ -78,7 +78,7 @@ using namespace std; #include "raslib/error.hh" // this is for inhouse debug macros; not needed for standalone compilation -#ifdef RMANDEBUG || DEBUG +#if defined(RMANDEBUG) || defined(DEBUG) #define DEBUG_MAIN #include "debug.hh" #endif -- cgit