diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-11-15 15:46:42 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-11-15 15:46:42 +0000 |
commit | db530a74abd93506dd1163607159106f3853f118 (patch) | |
tree | a363a22d4e2e0d7f6dc551ff512b2ccf93d2d930 /sys | |
parent | 5b459701d6699f6792a912e977f810cf2c13b57c (diff) |
Having __STRICT_ANSI__ (gcc -ansi) stop all non-ANSI interfaces from
being visible causes too many problems to be worth it. Lots of
thigns in ports use -ansi and expect to still be able to use POSIX bits.
We may want to disable long long for __STRICT_ANSI__ in the future since
this is consistent with what gcc whines about.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/cdefs.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index dd0f5c29878..d05787eabdd 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cdefs.h,v 1.18 2005/05/27 21:28:12 millert Exp $ */ +/* $OpenBSD: cdefs.h,v 1.19 2005/11/15 15:46:41 millert Exp $ */ /* $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ */ /* @@ -300,20 +300,6 @@ #endif /* - * __STRICT_ANSI__ (gcc -ansi) overrides everything else. - */ -#ifdef __STRICT_ANSI__ -# undef __POSIX_VISIBLE -# define __POSIX_VISIBLE 0 -# undef __XPG_VISIBLE -# define __XPG_VISIBLE 0 -# undef __ISO_C_VISIBLE -# define __ISO_C_VISIBLE 1990 -# undef __OPENBSD_VISIBLE -# define __OPENBSD_VISIBLE 0 -#endif - -/* * Default values. */ #ifndef __XPG_VISIBLE |