Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107292807
D34800.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D34800.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D34800: Remove checks for __GNUCLIKE macros for varargs.
Attached
Detach File
Event Timeline
Log In to Comment