handle different cases of preprocessor macro varargs support.
2002-08-09 Yanko Kaneti <yaneti@declera.com> * capplets/common/capplet-util.h: handle different cases of preprocessor macro varargs support.
This commit is contained in:
parent
307dd6b3a5
commit
c7e265f7c9
2 changed files with 14 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-08-09 Yanko Kaneti <yaneti@declera.com>
|
||||
|
||||
* capplets/common/capplet-util.h: handle different cases of
|
||||
preprocessor macro varargs support.
|
||||
|
||||
2002-08-08 Seth Nickell <snickell@stanford.edu>
|
||||
|
||||
* capplets/Makefile.am:
|
||||
|
|
|
@ -32,9 +32,17 @@
|
|||
|
||||
/* Print a debugging message */
|
||||
|
||||
#define DEBUG_MSG(str, ...) \
|
||||
#ifdef G_HAVE_ISO_VARARGS
|
||||
# define DEBUG_MSG(str, ...) \
|
||||
g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "(%d:%s) " str, \
|
||||
getpid (), G_GNUC_FUNCTION, __VA_ARGS__)
|
||||
#elif defined(G_HAVE_GNUC_VARARGS)
|
||||
# define DEBUG_MSG(str, args...) \
|
||||
g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "(%d:%s) " str, \
|
||||
getpid (), G_GNUC_FUNCTION, args)
|
||||
#else
|
||||
# define DEBUG_MSG(str, args...)
|
||||
#endif
|
||||
|
||||
/* Retrieve a widget from the Glade object */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue