diff dvdnav_internal.h.in @ 107:b2801805c433 src

include some fixes done in xine's copy to avoid merging conflicts
author mroi
date Thu, 24 Oct 2002 16:48:19 +0000
parents 0fbef4901e2c
children b6834e6359cf
line wrap: on
line diff
--- a/dvdnav_internal.h.in	Wed Oct 23 11:38:09 2002 +0000
+++ b/dvdnav_internal.h.in	Thu Oct 24 16:48:19 2002 +0000
@@ -160,7 +160,11 @@
 
 /** USEFUL MACROS **/
 
+#ifdef __GNUC__
 #define printerrf(format, args...) snprintf(this->err_str, MAX_ERR_LEN, format, ## args);
+#else
+#define printerrf(...) snprintf(this->err_str, MAX_ERR_LEN, __VA_ARGS__);
+#endif
 #define printerr(str) strncpy(this->err_str, str, MAX_ERR_LEN);
 /* Save my typing */