mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
My attempts at minimizing the number of #def's got me in trouble.
This commit is contained in:
parent
ff33c3ba38
commit
e3ddd70789
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85108
@ -72,11 +72,8 @@
|
||||
#define _BSD_OFF_T_ long /* file offset */
|
||||
#define _BSD_PID_T_ int /* process [group] */
|
||||
|
||||
#if defined __GNUC__
|
||||
#if (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ > 95)
|
||||
#if defined __GNUC__ && (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ > 95)
|
||||
#define _BSD_VA_LIST_ __builtin_va_list /* internally known to gcc */
|
||||
#endif
|
||||
typedef _BSD_VA_LIST_ __gnuc_va_list; /* compatibility w/GNU headers*/
|
||||
#else
|
||||
typedef struct {
|
||||
char *__base;
|
||||
@ -84,7 +81,10 @@ typedef struct {
|
||||
int __pad;
|
||||
} __va_list;
|
||||
#define _BSD_VA_LIST_ __va_list /* va_list */
|
||||
#endif /*__GNUC__*/
|
||||
#endif /* post GCC 2.95 */
|
||||
#if defined __GNUC__
|
||||
typedef _BSD_VA_LIST_ __gnuc_va_list; /* compatibility w/GNU headers*/
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The rune type above is declared to be an ``int'' instead of the more natural
|
||||
|
@ -76,7 +76,10 @@
|
||||
#define _BSD_VA_LIST_ __builtin_va_list /* internally known to gcc */
|
||||
#else
|
||||
#define _BSD_VA_LIST_ char * /* va_list */
|
||||
#endif /*__GNUC__*/
|
||||
#endif /* post GCC 2.95 */
|
||||
#if defined __GNUC__
|
||||
typedef _BSD_VA_LIST_ __gnuc_va_list; /* compatibility w/GNU headers*/
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The rune type above is declared to be an ``int'' instead of the more natural
|
||||
|
@ -71,14 +71,14 @@
|
||||
#define _BSD_OFF_T_ __int64_t /* file offset */
|
||||
#define _BSD_PID_T_ int /* process [group] */
|
||||
|
||||
#if defined __GNUC__
|
||||
#if (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ > 95)
|
||||
#if defined __GNUC__ && (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ > 95)
|
||||
#define _BSD_VA_LIST_ __builtin_va_list /* internally known to gcc */
|
||||
#endif
|
||||
typedef _BSD_VA_LIST_ __gnuc_va_list; /* compatibility w/GNU headers*/
|
||||
#else
|
||||
#define _BSD_VA_LIST_ char * /* va_list */
|
||||
#endif /*__GNUC__*/
|
||||
#endif /* post GCC 2.95 */
|
||||
#if defined __GNUC__
|
||||
typedef _BSD_VA_LIST_ __gnuc_va_list; /* compatibility w/GNU headers*/
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The rune type above is declared to be an ``int'' instead of the more natural
|
||||
|
@ -71,11 +71,8 @@
|
||||
#define _BSD_OFF_T_ __int64_t /* file offset */
|
||||
#define _BSD_PID_T_ int /* process [group] */
|
||||
|
||||
#if defined __GNUC__
|
||||
#if (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ > 95)
|
||||
#if defined __GNUC__ && (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ > 95)
|
||||
#define _BSD_VA_LIST_ __builtin_va_list /* internally known to gcc */
|
||||
#endif
|
||||
typedef _BSD_VA_LIST_ __gnuc_va_list; /* compatibility w/GNU headers*/
|
||||
#else
|
||||
typedef struct {
|
||||
char __gpr;
|
||||
@ -85,7 +82,10 @@ typedef struct {
|
||||
char *__base;
|
||||
} __va_list;
|
||||
#define _BSD_VA_LIST_ __va_list /* va_list */
|
||||
#endif /*__GNUC__*/
|
||||
#endif /* post GCC 2.95 */
|
||||
#if defined __GNUC__
|
||||
typedef _BSD_VA_LIST_ __gnuc_va_list; /* compatibility w/GNU headers*/
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The rune type above is declared to be an ``int'' instead of the more natural
|
||||
|
@ -72,14 +72,14 @@
|
||||
#define _BSD_OFF_T_ long /* file offset */
|
||||
#define _BSD_PID_T_ int /* process [group] */
|
||||
|
||||
#if defined __GNUC__
|
||||
#if (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ > 95)
|
||||
#if defined __GNUC__ && (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ > 95)
|
||||
#define _BSD_VA_LIST_ __builtin_va_list /* internally known to gcc */
|
||||
#endif
|
||||
typedef _BSD_VA_LIST_ __gnuc_va_list; /* compatibility w/GNU headers*/
|
||||
#else
|
||||
#define _BSD_VA_LIST_ char * /* va_list */
|
||||
#endif /*__GNUC__*/
|
||||
#endif /* post GCC 2.95 */
|
||||
#if defined __GNUC__
|
||||
typedef _BSD_VA_LIST_ __gnuc_va_list; /* compatibility w/GNU headers*/
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The rune type above is declared to be an ``int'' instead of the more natural
|
||||
|
Loading…
Reference in New Issue
Block a user