Print this page
remove support for non-ANSI compilation

*** 18,36 **** * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_INT_CONST_H #define _SYS_INT_CONST_H - #pragma ident "%Z%%M% %I% %E% SMI" - /* * This file, <sys/int_const.h>, is part of the Sun Microsystems implementation * of <inttypes.h> as proposed in the ISO/JTC1/SC22/WG14 C committee's working * draft for the revision of the current ISO C standard, ISO/IEC 9899:1990 * Programming language - C. --- 18,36 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_INT_CONST_H #define _SYS_INT_CONST_H /* * This file, <sys/int_const.h>, is part of the Sun Microsystems implementation * of <inttypes.h> as proposed in the ISO/JTC1/SC22/WG14 C committee's working * draft for the revision of the current ISO C standard, ISO/IEC 9899:1990 * Programming language - C.
*** 70,90 **** * The "CSTYLED" comments are flags to an internal code style analysis tool * telling it to silently accept the line which follows. This internal * standard requires a space between arguments, but the historical, * non-ANSI-C ``method'' of concatenation can't tolerate those spaces. */ - #ifdef __STDC__ /* CSTYLED */ #define __CONCAT__(A,B) A ## B - #else - /* CSTYLED */ - #define __CONCAT__(A,B) A/**/B - #endif - #if defined(_CHAR_IS_SIGNED) || defined(__STDC__) #define INT8_C(c) (c) - #endif #define INT16_C(c) (c) #define INT32_C(c) (c) #ifdef _LP64 /* CSTYLED */ #define INT64_C(c) __CONCAT__(c,l) --- 70,83 ----