Skip to content
Permalink
Browse files

Fix compiler warning

Fix "ISO C does not permit named variadic macros" when compiling under -Wvariadic-macros.
  • Loading branch information...
kensanata committed Oct 27, 2019
1 parent 3b76db7 commit 1e8f42b56080a90b42da9dd45dc238984ed2ad3e
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/events.h
@@ -57,8 +57,8 @@ typedef gboolean (*b_event_handler)(gpointer data, gint fd, b_input_condition co
#define GAIM_WRITE_COND (G_IO_OUT | G_IO_HUP | G_IO_ERR | G_IO_NVAL)
#define GAIM_ERR_COND (G_IO_HUP | G_IO_ERR | G_IO_NVAL)

/* #define event_debug( x... ) printf( x ) */
#define event_debug(x ...)
/* #define event_debug( ... ) printf( __VA_ARGS__ ) */
#define event_debug(...)

/* Call this once when the program starts. It'll initialize the event handler
library (if necessary) and then return immediately. */

0 comments on commit 1e8f42b

Please sign in to comment.
You can’t perform that action at this time.