summaryrefslogtreecommitdiff
path: root/sys/amd64/include/stdarg.h
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2005-03-02 21:33:29 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2005-03-02 21:33:29 +0000
commita5f50ef9e43b28e15a7e2a2aec73754456619f17 (patch)
tree69c98a86a28838e983d8eca9ba158f46450df8c1 /sys/amd64/include/stdarg.h
parentf685f62c9869f2c8181041ae3e3d87a09d2d3fbf (diff)
Notes
Diffstat (limited to 'sys/amd64/include/stdarg.h')
-rw-r--r--sys/amd64/include/stdarg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/amd64/include/stdarg.h b/sys/amd64/include/stdarg.h
index 60a204ad177f..d3612d21e830 100644
--- a/sys/amd64/include/stdarg.h
+++ b/sys/amd64/include/stdarg.h
@@ -39,7 +39,7 @@
typedef __va_list va_list;
#endif
-#if defined(__GNUC__)
+#if defined(__GNUCLIKE_BUILTIN_STDARG)
#define va_start(ap, last) \
__builtin_stdarg_start((ap), (last))
@@ -67,6 +67,8 @@ typedef __va_list va_list;
(*(type *)((ap) += __va_size(type), (ap) - __va_size(type)))
#define va_end(ap)
+#else
+#error this file needs to be ported to your compiler
#endif
#endif /* !_MACHINE_STDARG_H_ */