12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- /****************************************************************************
- Copyright (c) 2020 Qualcomm Technologies, Inc.
- All Rights Reserved.
- Confidential and Proprietary - Qualcomm Technologies, Inc.
- *****************************************************************************
- 2011 Qualcomm Atheros, Inc.
- ****************************************************************************/
- /*====================================================================*
- *
- * stdint.h - substitute stdint.h file for Windows;
- *
- * this is an important POSIX header that Microsoft ommits;
- *
- * Contributor(s):
- * Charles Maier <cmaier.qca.qualcomm.com>
- *
- *--------------------------------------------------------------------*/
- #ifndef STDINT_HEADER
- #define STDINT_HEADER
- /*====================================================================*
- * system header files;
- *--------------------------------------------------------------------*/
- #include <limits.h>
- /*====================================================================*
- * variable types;
- *--------------------------------------------------------------------*/
- #ifdef _MSC_VER
- typedef __int8 int8_t;
- typedef __int16 int16_t;
- typedef __int32 int32_t;
- typedef __int64 int64_t;
- typedef unsigned __int8 uint8_t;
- typedef unsigned __int16 uint16_t;
- typedef unsigned __int32 uint32_t;
- typedef unsigned __int64 uint64_t;
- typedef long off_t;
- #if _MSC_VER > 1900
- typedef signed char int_least8_t;
- typedef short int_least16_t;
- typedef int int_least32_t;
- typedef long long int_least64_t;
- typedef unsigned char uint_least8_t;
- typedef unsigned short uint_least16_t;
- typedef unsigned int uint_least32_t;
- typedef unsigned long long uint_least64_t;
- typedef signed char int_fast8_t;
- typedef int int_fast16_t;
- typedef int int_fast32_t;
- typedef long long int_fast64_t;
- typedef unsigned char uint_fast8_t;
- typedef unsigned int uint_fast16_t;
- typedef unsigned int uint_fast32_t;
- typedef unsigned long long uint_fast64_t;
- typedef long long intmax_t;
- typedef unsigned long long uintmax_t;
- #endif
- #endif
- /*====================================================================*
- *
- *--------------------------------------------------------------------*/
- #if defined (WIN32)
- #define UINT32_MAX (uint32_t)(-1)
- #endif
- /*====================================================================*
- *
- *--------------------------------------------------------------------*/
- #endif
|