Print this page
remove support for non-ANSI compilation

@@ -18,19 +18,19 @@
  * 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
 
-#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.
  *

@@ -72,14 +72,12 @@
  * 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;

@@ -131,14 +129,12 @@
  * 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 */

@@ -163,14 +159,12 @@
  * 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 */