[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdemultimedia/libkcompactdisc/wmlib/include
From: Pavel Heimlich <tropikhajma () gmail ! com>
Date: 2010-07-09 12:21:24
Message-ID: 20100709122124.B55F6AC85F () svn ! kde ! org
[Download RAW message or body]
SVN commit 1147937 by pavelheimlich:
variadic macros are handled differently by Sun Studio
M +8 -0 wm_config.h
--- trunk/KDE/kdemultimedia/libkcompactdisc/wmlib/include/wm_config.h #1147936:1147937
@@ -352,11 +352,19 @@
#define DEBUG
#ifdef DEBUG
+ #if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
+ #define DEBUGLOG(...) fprintf(stderr, __VA_ARGS__)
+ #else
#define DEBUGLOG(fmt, args...) fprintf(stderr, fmt, ##args)
+ #endif
#else
#define DEBUGLOG(fmt, args...)
#endif
+#if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
+ #define ERRORLOG(...) fprintf(stderr, __VA_ARGS__)
+#else
#define ERRORLOG(fmt, args...) fprintf(stderr, fmt, ##args)
+#endif
#endif /* WM_CONFIG_H */
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic