source:
thirdparty/blosc/internal-complibs/snappy-1.1.1/msvc2.patch
@
8ebc79b
Revision 8ebc79b, 935 bytes checked in by Hal Finkel <hfinkel@…>, 8 years ago (diff) | |
---|---|
|
-
internal-complibs/snappy-1.1.1/snappy-stubs-public.h
diff --git a/internal-complibs/snappy-1.1.1/snappy-stubs-public.h b/internal-complibs/snappy-1.1.1/snappy-stubs-public.h index ecda439..4cc8965 100644
a b 36 36 #ifndef UTIL_SNAPPY_OPENSOURCE_SNAPPY_STUBS_PUBLIC_H_ 37 37 #define UTIL_SNAPPY_OPENSOURCE_SNAPPY_STUBS_PUBLIC_H_ 38 38 39 #if 1 39 // MSVC 2008 does not include stdint.h. This is a workaround by Mark W. 40 // Please note that this is only defined in the Blosc sources of Snappy. 41 #if !defined(_MSC_VER) || _MSC_VER >= 1600 40 42 #include <stdint.h> 43 #else 44 typedef signed char int8_t; 45 typedef short int16_t; 46 typedef int int32_t; 47 typedef __int64 int64_t; 48 typedef ptrdiff_t intptr_t; 49 typedef unsigned char uint8_t; 50 typedef unsigned short uint16_t; 51 typedef unsigned int uint32_t; 52 typedef unsigned __int64 uint64_t; 53 typedef size_t uintptr_t; 41 54 #endif 42 55 43 56 #if 1
Note: See TracBrowser
for help on using the repository browser.