// cinttypes standard header
#ifndef _CINTTYPES_
#define _CINTTYPES_
#include <yvals.h>

#ifdef _STD_USING
 #undef _STD_USING
  #include <inttypes.h>
 #define _STD_USING

#else /* _STD_USING */
 #include <inttypes.h>
#endif /* _STD_USING */

 #if defined(__ghs)
  #pragma ghs start_cxx_lib_header
  #pragma ghs startdata
  #if defined(__ghs_max_pack_value)
   #pragma pack (push, __ghs_max_pack_value)
  #endif /* defined(__ghs_max_pack_value) */
 #endif /* defined(__ghs) */

 #ifdef _GLOBAL_USING
_STD_BEGIN
using _CSTD int8_t; using _CSTD int16_t;	// from <stdint.h>
using _CSTD int32_t; // __ghs: using _CSTD int64_t;
using _CSTD uint8_t; using _CSTD uint16_t;
using _CSTD uint32_t; // __ghs: using _CSTD uint_least64_t

using _CSTD int_least8_t; using _CSTD int_least16_t;
using _CSTD int_least32_t; // __ghs: using _CSTD int_least64_t;
using _CSTD uint_least8_t; using _CSTD uint_least16_t;
using _CSTD uint_least32_t; // __ghs: using _CSTD uint_least64_t;

using _CSTD int_fast8_t; using _CSTD int_fast16_t;
using _CSTD int_fast32_t; // __ghs: using _CSTD int_fast64_t;
using _CSTD uint_fast8_t; using _CSTD uint_fast16_t;
using _CSTD uint_fast32_t; // __ghs: using _CSTD uint_fast64_t;

using _CSTD intmax_t; using _CSTD intptr_t;
using _CSTD uintmax_t; using _CSTD uintptr_t;

#if !defined(__ghs) || !defined(__sun)
using _CSTD imaxdiv_t;	// from <inttypes.h>
#endif /* !defined(__ghs) || !defined(__sun) */

#if !defined(__ghs) || defined(__LLONG_BIT)
using _CSTD int64_t; using _CSTD uint64_t;
using _CSTD int_least64_t; using _CSTD uint_least64_t;
using _CSTD int_fast64_t; using _CSTD uint_fast64_t;
#endif /* !defined(__ghs) || defined(__LLONG_BIT) */

#if !defined(__ghs)
using _CSTD abs; using _CSTD div;
#endif /* !defined(__ghs) */
#if !defined(__ghs) || !defined(__sun)
using _CSTD imaxabs; using _CSTD imaxdiv;
using _CSTD strtoimax; using _CSTD strtoumax;
using _CSTD wcstoimax; using _CSTD wcstoumax;
#endif /* !defined(__ghs) || !defined(__sun) */

 #if _HAS_TR1_DECLARATIONS
	namespace tr1 {
using _CSTD imaxdiv_t;	// from <inttypes.h>

#if !defined(__ghs)
using _CSTD abs; using _CSTD div;
#endif /* !defined(__ghs) */
using _CSTD imaxabs; using _CSTD imaxdiv;
using _CSTD strtoimax; using _CSTD strtoumax;
using _CSTD wcstoimax; using _CSTD wcstoumax;
	}	// namespace tr1
 #endif /* _HAS_TR1_DECLARATIONS */
_STD_END
 #endif /* _GLOBAL_USING */

 #if defined(__ghs)
  #if defined(__ghs_max_pack_value)
   #pragma pack(pop)
  #endif /* defined(__ghs_max_pack_value) */
  #pragma ghs enddata
  #pragma ghs end_cxx_lib_header
 #endif /* defined(__ghs) */

#endif /* _CINTTYPES_ */

/*
 * Copyright (c) by P.J. Plauger. All rights reserved.
 * Consult your license regarding permissions and restrictions.
V8.03b/17:0063 */
