.. _program_listing_file_api_include_pntos_stdint.h: Program Listing for File stdint.h ================================= |exhale_lsh| :ref:`Return to documentation for file ` (``api/include/pntos/stdint.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #pragma once /* Fallback to platform specific lengths on C89 */ #ifdef PNTOS_NO_STDINT typedef char int8_t; typedef short int int16_t; typedef int int32_t; typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; # ifdef PNTOS_LONG_LONG typedef long long int64_t; typedef unsigned long long uint64_t; # else /* PNTOS_LONG_LONG */ typedef long int64_t; typedef unsigned long uint64_t; # endif /* PNTOS_LONG_LONG */ #else /* PNTOS_NO_STDINT */ # include #endif /* PNTOS_NO_STDINT */