diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-12-14 21:46:32 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-12-14 21:46:32 +0000 |
commit | 3fce9befb1d4f65739adc427683f5a6357ee102f (patch) | |
tree | bda10871810ec2e3c47c06cfa6e07b88df5efe02 /sys/arch/m88k/include/va-m88k.h | |
parent | 6ffc06fbc8f7e1d2c6134ab0d4563b6a189b983c (diff) |
convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@
Diffstat (limited to 'sys/arch/m88k/include/va-m88k.h')
-rw-r--r-- | sys/arch/m88k/include/va-m88k.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/m88k/include/va-m88k.h b/sys/arch/m88k/include/va-m88k.h index ae4493e7f13..1d908ed1b7b 100644 --- a/sys/arch/m88k/include/va-m88k.h +++ b/sys/arch/m88k/include/va-m88k.h @@ -1,10 +1,12 @@ -/* $OpenBSD: va-m88k.h,v 1.5 2004/07/28 08:47:12 miod Exp $ */ +/* $OpenBSD: va-m88k.h,v 1.6 2005/12/14 21:46:31 millert Exp $ */ /* Define __gnuc_va_list. */ #ifndef __GNUC_VA_LIST #define __GNUC_VA_LIST +#include <sys/cdefs.h> + typedef struct __va_list_tag { unsigned int __va_arg; /* argument number */ unsigned int *__va_stk; /* start of args passed on stack */ @@ -84,9 +86,7 @@ __extension__ ({ \ *(dest) = *(src);\ }) -#if !defined(_ANSI_SOURCE) && \ - (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE) || \ - defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L) +#if __ISO_VISIBLE >= 1999 #define va_copy(dest, src) __va_copy(dest, src) #endif |