From 13736ec1298eacb535dd06ca11827fdb7436645f Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Fri, 29 Dec 2006 11:03:05 +0000 Subject: [PATCH] named variadic macros since gcc 2 git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9769 67ed7778-7388-44ab-90cf-0a291f65f57c --- libgphoto2_port/gphoto2/gphoto2-port-log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgphoto2_port/gphoto2/gphoto2-port-log.h b/libgphoto2_port/gphoto2/gphoto2-port-log.h index 32e4eb74d..aa95c5d2e 100644 --- a/libgphoto2_port/gphoto2/gphoto2-port-log.h +++ b/libgphoto2_port/gphoto2/gphoto2-port-log.h @@ -84,7 +84,7 @@ void gp_log_data (const char *domain, const char *data, unsigned int size); #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L #define GP_DEBUG(...) \ gp_log(GP_LOG_DEBUG, GP_MODULE "/" __FILE__, __VA_ARGS__) -#elif defined(__GNUC__) +#elif defined(__GNUC__) && __GNUC__ >= 2 #define GP_DEBUG(msg, params...) \ gp_log(GP_LOG_DEBUG, GP_MODULE "/" __FILE__, msg, ##params) #else