1*3e0c8044SRichard Lowe /* 2*3e0c8044SRichard Lowe * CDDL HEADER START 3*3e0c8044SRichard Lowe * 4*3e0c8044SRichard Lowe * The contents of this file are subject to the terms of the 5*3e0c8044SRichard Lowe * Common Development and Distribution License, Version 1.0 only 6*3e0c8044SRichard Lowe * (the "License"). You may not use this file except in compliance 7*3e0c8044SRichard Lowe * with the License. 8*3e0c8044SRichard Lowe * 9*3e0c8044SRichard Lowe * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*3e0c8044SRichard Lowe * or http://www.opensolaris.org/os/licensing. 11*3e0c8044SRichard Lowe * See the License for the specific language governing permissions 12*3e0c8044SRichard Lowe * and limitations under the License. 13*3e0c8044SRichard Lowe * 14*3e0c8044SRichard Lowe * When distributing Covered Code, include this CDDL HEADER in each 15*3e0c8044SRichard Lowe * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*3e0c8044SRichard Lowe * If applicable, add the following below this CDDL HEADER, with the 17*3e0c8044SRichard Lowe * fields enclosed by brackets "[]" replaced with your own identifying 18*3e0c8044SRichard Lowe * information: Portions Copyright [yyyy] [name of copyright owner] 19*3e0c8044SRichard Lowe * 20*3e0c8044SRichard Lowe * CDDL HEADER END 21*3e0c8044SRichard Lowe */ 22*3e0c8044SRichard Lowe /* 23*3e0c8044SRichard Lowe * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 24*3e0c8044SRichard Lowe * Use is subject to license terms. 25*3e0c8044SRichard Lowe */ 26*3e0c8044SRichard Lowe 27*3e0c8044SRichard Lowe #include <sys/types.h> 28*3e0c8044SRichard Lowe /* 29*3e0c8044SRichard Lowe * Setting thie value to 1 enables XPG4 mode for APIs 30*3e0c8044SRichard Lowe * which have differing runtime behaviour from XPG3 to XPG4. 31*3e0c8044SRichard Lowe * See usr/src/lib/libc/port/gen/xpg4.c for the default value. 32*3e0c8044SRichard Lowe */ 33*3e0c8044SRichard Lowe 34*3e0c8044SRichard Lowe int __xpg4 = 1; 35