From 88fe9f9c58deb6c83ddacb4360b95133cd2eeada Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 9 Jan 2002 23:11:33 +0000 Subject: [PATCH] Changed the debugging disabled macros, too. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3789 67ed7778-7388-44ab-90cf-0a291f65f57c --- libgphoto2_port/libgphoto2_port/gphoto2-port-log.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libgphoto2_port/libgphoto2_port/gphoto2-port-log.h b/libgphoto2_port/libgphoto2_port/gphoto2-port-log.h index da00695ea..82ce3c908 100644 --- a/libgphoto2_port/libgphoto2_port/gphoto2-port-log.h +++ b/libgphoto2_port/libgphoto2_port/gphoto2-port-log.h @@ -103,8 +103,13 @@ void gp_log_data (const char *domain, const char *data, unsigned int size); #define gp_log(level, domain, format, args...) /**/ #define gp_logv(level, domain, format, args) /**/ #define gp_log_data(domain, data, size) /**/ +#ifdef __GNUC__ #define GP_LOG(level, msg, params...) /**/ #define GP_DEBUG(msg, params...) /**/ +#else +#define GP_LOG(level, ...) /**/ +#define GP_DEBUG(...) /**/ +#endif #endif /* DISABLE_DEBUGGING */