inttypes.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #if !defined(_INTTYPES_H_)
00016 #define _INTTYPES_H_
00017
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021
00022 #ifdef _MSC_VER
00023 #if (_MSC_VER >= 1400) // VC8+
00024 #ifndef _CRT_SECURE_NO_DEPRECATE
00025 #define _CRT_SECURE_NO_DEPRECATE
00026 #endif
00027 #ifndef _CRT_NONSTDC_NO_DEPRECATE
00028 #define _CRT_NONSTDC_NO_DEPRECATE
00029 #endif
00030 #endif // VC8+
00031 #include <windows.h>
00032 typedef unsigned __int8 uint8_t;
00033 typedef unsigned __int16 uint16_t;
00034 typedef unsigned __int32 uint32_t;
00035 typedef unsigned __int64 uint64_t;
00036 typedef __int8 int8_t;
00037 typedef __int16 int16_t;
00038 typedef __int32 int32_t;
00039 typedef __int64 int64_t;
00040 #define inline __inline
00041 #define __inline__ __inline
00042 #define INT16_MAX 0x7fff
00043 #define INT16_MIN (-INT16_MAX - 1)
00044 #define _MMX_H_
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054 #pragma warning(disable:4100 4200 4706 4295 4125)
00055
00056 #pragma comment(lib, "ws2_32.lib")
00057
00058 #define strncasecmp _strnicmp
00059 #define strcasecmp _stricmp
00060 #define snprintf _snprintf
00061
00062 #if !defined(INFINITY)
00063 #define INFINITY 0x7fffffff
00064 #endif
00065 #endif
00066
00067 #define PACKAGE "spandsp"
00068 #define VERSION "0.0.3andabit"
00069
00070 #define INT32_MAX (2147483647)
00071 #define INT32_MIN (-2147483647 - 1)
00072
00073 #define PRId8 "d"
00074 #define PRId16 "d"
00075 #define PRId32 "ld"
00076 #define PRId64 "lld"
00077
00078 #define PRIu8 "u"
00079 #define PRIu16 "u"
00080 #define PRIu32 "lu"
00081 #define PRIu64 "llu"
00082
00083 #ifdef __cplusplus
00084 }
00085 #endif
00086
00087 #endif