>+#ifdef __WIN__
>+#define OSM_LOG(log, level, fmt, ...) \
>+do { \
>+      if (osm_log_is_active(log, (level))) \
>+              osm_log(log, level, "%s: " fmt, __func__, ## __VA_ARGS__); \

__VA_ARGS__ should work on any platform.  libibmad : mad.h uses this for windows
and linux. 

>+} while (0)
>+#else
> #define OSM_LOG(log, level, fmt, arg...) do { \
>               if (osm_log_is_active(log, (level))) \
>                       osm_log(log, level, "%s: " fmt, __func__, ##arg); \
>       } while (0)
>+#endif

_______________________________________________
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to