[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2124] nagiosplug/trunk/tap/tap.h
dermoth at users.sourceforge.net
dermoth at users.sourceforge.net
Wed Jan 14 12:57:15 CET 2009
Revision: 2124
http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2124&view=rev
Author: dermoth
Date: 2009-01-14 11:57:15 +0000 (Wed, 14 Jan 2009)
Log Message:
-----------
Trying to see if HP-UX will compile without the __STDC_VERSION__ check in tap.h
From: Thomas Guyot-Sionnest <dermoth at aei.ca>
Modified Paths:
--------------
nagiosplug/trunk/tap/tap.h
Modified: nagiosplug/trunk/tap/tap.h
===================================================================
--- nagiosplug/trunk/tap/tap.h 2009-01-13 09:33:16 UTC (rev 2123)
+++ nagiosplug/trunk/tap/tap.h 2009-01-14 11:57:15 UTC (rev 2124)
@@ -47,7 +47,7 @@
skip(n, fmt, ## __VA_ARGS__); \
continue; \
}
-#elif __STDC_VERSION__ >= 199901L /* __GNUC__ */
+#else /*#elif __STDC_VERSION__ >= 199901L*/ /* __GNUC__ */
# define ok(e, ...) ((e) ? \
_gen_result(1, __func__, __FILE__, __LINE__, \
__VA_ARGS__) : \
@@ -67,8 +67,8 @@
skip(n, __VA_ARGS__); \
continue; \
}
-#else /* __STDC_VERSION__ */
-# error "Needs gcc or C99 compiler for variadic macros."
+/*#else *//* __STDC_VERSION__ */
+/*# error "Needs gcc or C99 compiler for variadic macros."*/
#endif /* __STDC_VERSION__ */
# define skip_end } while(0);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list