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_TYPES_H
#define _SYS_INT_TYPES_H
- #pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* This file, <sys/int_types.h>, is part of the Sun Microsystems implementation
* of <inttypes.h> defined in the ISO C standard, ISO/IEC 9899:1999
* 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_TYPES_H
#define _SYS_INT_TYPES_H
/*
* This file, <sys/int_types.h>, is part of the Sun Microsystems implementation
* of <inttypes.h> defined in the ISO C standard, ISO/IEC 9899:1999
* Programming language - C.
*
*** 72,85 ****
* signed integral.
*/
#if defined(_CHAR_IS_SIGNED)
typedef char int8_t;
#else
- #if defined(__STDC__)
typedef signed char int8_t;
#endif
- #endif
typedef short int16_t;
typedef int int32_t;
#ifdef _LP64
#define _INT64_TYPE
typedef long int64_t;
--- 72,83 ----
*** 131,144 ****
* specified number of bits.
*/
#if defined(_CHAR_IS_SIGNED)
typedef char int_fast8_t;
#else
- #if defined(__STDC__)
typedef signed char int_fast8_t;
#endif
- #endif
typedef int int_fast16_t;
typedef int int_fast32_t;
#ifdef _LP64
typedef long int_fast64_t;
#else /* _ILP32 */
--- 129,140 ----
*** 163,176 ****
* specified number of bits.
*/
#if defined(_CHAR_IS_SIGNED)
typedef char int_least8_t;
#else
- #if defined(__STDC__)
typedef signed char int_least8_t;
#endif
- #endif
typedef short int_least16_t;
typedef int int_least32_t;
#ifdef _LP64
typedef long int_least64_t;
#else /* _ILP32 */
--- 159,170 ----