blob: 78ae530310bb574f4e8932bdf61982d04c4cf585 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
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 */
|