Page MenuHomeFreeBSD

D34800.diff
No OneTemporary

D34800.diff

diff --git a/sys/sys/_stdarg.h b/sys/sys/_stdarg.h
--- a/sys/sys/_stdarg.h
+++ b/sys/sys/_stdarg.h
@@ -41,7 +41,6 @@
typedef __va_list va_list;
#endif
-#ifdef __GNUCLIKE_BUILTIN_STDARG
#define va_start(ap, last) __builtin_va_start((ap), (last))
#define va_arg(ap, type) __builtin_va_arg((ap), type)
#define __va_copy(dest, src) __builtin_va_copy((dest), (src))
@@ -49,6 +48,5 @@
#define va_copy(dest, src) __va_copy(dest, src)
#endif
#define va_end(ap) __builtin_va_end(ap)
-#endif
#endif /* ! _SYS__STDARG_H_ */
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -208,13 +208,8 @@
* Types for varargs. These are all provided by builtin types these
* days, so centralize their definition.
*/
-#ifdef __GNUCLIKE_BUILTIN_VARARGS
typedef __builtin_va_list __va_list; /* internally known to gcc */
-#else
-#error "No support for your compiler for stdargs"
-#endif
-#if defined(__GNUC_VA_LIST_COMPATIBILITY) && !defined(__GNUC_VA_LIST) \
- && !defined(__NO_GNUC_VA_LIST)
+#if !defined(__GNUC_VA_LIST) && !defined(__NO_GNUC_VA_LIST)
#define __GNUC_VA_LIST
typedef __va_list __gnuc_va_list; /* compatibility w/GNU headers*/
#endif

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 13, 2:39 AM (21 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15775308
Default Alt Text
D34800.diff (1 KB)

Event Timeline