]> git.sesse.net Git - vlc/commitdiff
Remove GCCism
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 25 Sep 2008 15:32:56 +0000 (18:32 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 25 Sep 2008 15:32:56 +0000 (18:32 +0300)
src/control/libvlc_internal.h

index a291858b20877e78c6e8d43e7666e42e60548151..280eee496a0124965bbb0a979897610c00c4932c 100644 (file)
@@ -342,11 +342,11 @@ void libvlc_event_send(
 
 /* Exception shorcuts */
 
-#define RAISENULL( psz,a... ) { libvlc_exception_raise( p_e, psz,##a ); \
-                                return NULL; }
-#define RAISEVOID( psz,a... ) { libvlc_exception_raise( p_e, psz,##a ); \
-                                return; }
-#define RAISEZERO( psz,a... ) { libvlc_exception_raise( p_e, psz,##a ); \
-                                return 0; }
+#define RAISENULL( ... ) { libvlc_exception_raise( p_e, __VA_ARGS__ ); \
+                           return NULL; }
+#define RAISEVOID( ... ) { libvlc_exception_raise( p_e, __VA_ARGS__ ); \
+                           return; }
+#define RAISEZERO( ... ) { libvlc_exception_raise( p_e, __VA_ARGS__ ); \
+                           return 0; }
 
 #endif