[frogr] Use #if instead of #ifdef for defining the DEBUG macro



commit 08980e2afce52f4de20395c3da6fd0a9bae9ac25
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Tue Jan 25 17:01:45 2011 +0100

    Use #if instead of #ifdef for defining the DEBUG macro

 src/flicksoup/fsp-session.c |    2 +-
 src/frogr-global-defs.h     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/flicksoup/fsp-session.c b/src/flicksoup/fsp-session.c
index 46294bc..b2b9acf 100644
--- a/src/flicksoup/fsp-session.c
+++ b/src/flicksoup/fsp-session.c
@@ -38,7 +38,7 @@
 #define FLICKR_API_BASE_URL   "http://api.flickr.com/services/rest";
 #define FLICKR_API_UPLOAD_URL "http://api.flickr.com/services/upload";
 
-#ifdef DEBUG_ENABLED
+#if DEBUG_ENABLED
 #define DEBUG(...) g_debug (__VA_ARGS__);
 #else
 #define DEBUG(...)
diff --git a/src/frogr-global-defs.h b/src/frogr-global-defs.h
index 75e52be..cbadbc4 100644
--- a/src/frogr-global-defs.h
+++ b/src/frogr-global-defs.h
@@ -29,7 +29,7 @@
 #define APP_SHORTNAME PACKAGE
 #define APP_VERSION VERSION
 
-#ifdef DEBUG_ENABLED
+#if DEBUG_ENABLED
 #define DEBUG(...) g_debug (__VA_ARGS__);
 #else
 #define DEBUG(...)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]