Mercurial > libpst
comparison src/common.h @ 377:506e266f930d
Vitaliy Didik - fix MSVC build
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 20 Nov 2017 08:19:28 -0800 |
parents | 5a82d41c883d |
children |
comparison
equal
deleted
inserted
replaced
376:b58ca528f5c9 | 377:506e266f930d |
---|---|
7 #include <stdio.h> | 7 #include <stdio.h> |
8 #include <stdarg.h> | 8 #include <stdarg.h> |
9 #include <time.h> | 9 #include <time.h> |
10 | 10 |
11 | 11 |
12 #ifndef _MSC_VER | 12 #if !defined(_MSC_VER) || (_MSC_VER >= 1800) |
13 #include <stdint.h> | 13 #include <stdint.h> |
14 #include <inttypes.h> | 14 #include <inttypes.h> |
15 #else | 15 #else |
16 typedef signed char int8_t; | 16 typedef signed char int8_t; |
17 typedef unsigned char uint8_t; | 17 typedef unsigned char uint8_t; |
18 typedef unsigned short uint16_t; | 18 typedef unsigned short uint16_t; |
19 typedef short int16_t; | 19 typedef short int16_t; |
20 typedef unsigned int uint32_t; | 20 typedef unsigned int uint32_t; |
21 typedef int int32_t; | 21 typedef int int32_t; |
22 typedef unsigned long long uint64_t; | 22 typedef unsigned long long uint64_t; |
23 typedef long long int64_t; | 23 typedef long long int64_t; |
24 #endif | 24 #endif |
25 | 25 |
26 #ifndef _WIN32 | 26 #ifndef _WIN32 |
27 typedef struct { | 27 typedef struct { |
28 uint32_t dwLowDateTime; | 28 uint32_t dwLowDateTime; |