Description: Enable XPG6 (C99) by default. Index: b/usr/src/lib/libc/port/gen/xpg6.c =================================================================== --- a/usr/src/lib/libc/port/gen/xpg6.c +++ b/usr/src/lib/libc/port/gen/xpg6.c @@ -49,6 +49,6 @@ #include "xpg6.h" -unsigned int __xpg6 = _C99SUSv3_mode_OFF; +unsigned int __xpg6 = _C99SUSv3_mode_ON; unsigned int libc__xpg6; /* copy of __xpg6, private to libc */ Index: b/usr/src/lib/libc/port/gen/xpg4.c =================================================================== --- a/usr/src/lib/libc/port/gen/xpg4.c +++ b/usr/src/lib/libc/port/gen/xpg4.c @@ -24,15 +24,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - -/* - * __xpg4 == 0 by default. The xpg4 cc driver will add an object - * file that contains int __xpg4 = 1". The symbol interposition - * provided by the linker will allow libc to find that symbol - * instead. - */ - -int __xpg4 = 0; +int __xpg4 = 1; int libc__xpg4; /* copy of __xpg4, private to libc */