summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2011-03-04 13:55:59 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2011-03-07 20:43:12 +0100
commit21902cf8860f46cfb19697ba7df83d3bb488447f (patch)
tree3a6df880741df8b7128efd6423baba3182b33458
parent05a3f42f30c5130e5fd0a9195ca114b6ff73d075 (diff)
downloadrasdaman-upstream-21902cf8860f46cfb19697ba7df83d3bb488447f.tar.gz
rasdaman-upstream-21902cf8860f46cfb19697ba7df83d3bb488447f.tar.xz
rasdaman-upstream-21902cf8860f46cfb19697ba7df83d3bb488447f.zip
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)".
-rw-r--r--insertutils/insertppm.cc2
1 files changed, 1 insertions, 1 deletions
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