diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-05-27 21:28:13 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-05-27 21:28:13 +0000 |
commit | 951d05ae090740733d215d0d9fd829660a545637 (patch) | |
tree | ab267841d559974dc4e880abc8c9e11ecbcf6705 /sys | |
parent | 9534a72ca67d1dafdd8464ff63496dcd188568fd (diff) |
Back out last commit, it was correct as is.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/cdefs.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index ff1ed0b9e7b..dd0f5c29878 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cdefs.h,v 1.17 2005/05/27 20:41:45 millert Exp $ */ +/* $OpenBSD: cdefs.h,v 1.18 2005/05/27 21:28:12 millert Exp $ */ /* $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ */ /* @@ -246,9 +246,6 @@ * The POSIX spec implies a specific value for __ISO_C_VISIBLE, though * this may be overridden by the _ISOC99_SOURCE macro later. */ -#if defined(_POSIX_SOURCE) && !defined(_POSIX_C_SOURCE) -#define _POSIX_C_SOURCE 198808 -#endif #ifdef _POSIX_C_SOURCE # if (_POSIX_C_SOURCE - 0 >= 200112) # define __POSIX_VISIBLE 200112 @@ -266,10 +263,10 @@ # define __POSIX_VISIBLE 199009 # define __ISO_C_VISIBLE 1990 # endif -#else +#elif defined(_POSIX_SOURCE) # define __POSIX_VISIBLE 198808 -# define __ISO_C_VISIBLE 0 -#endif /* _POSIX_C_SOURCE */ +# define __ISO_C_VISIBLE 0 +#endif /* * _ANSI_SOURCE means to expose ANSI C89 interfaces only. |