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)

Add the other internal compression libraries from blocs

  • Property mode set to 100644
  • 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  
    3636#ifndef UTIL_SNAPPY_OPENSOURCE_SNAPPY_STUBS_PUBLIC_H_ 
    3737#define UTIL_SNAPPY_OPENSOURCE_SNAPPY_STUBS_PUBLIC_H_ 
    3838 
    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 
    4042#include <stdint.h> 
     43#else 
     44typedef signed char int8_t; 
     45typedef short int16_t; 
     46typedef int int32_t; 
     47typedef __int64 int64_t; 
     48typedef ptrdiff_t intptr_t; 
     49typedef unsigned char uint8_t; 
     50typedef unsigned short uint16_t; 
     51typedef unsigned int uint32_t; 
     52typedef unsigned __int64 uint64_t; 
     53typedef size_t uintptr_t; 
    4154#endif 
    4255 
    4356#if 1 
Note: See TracBrowser for help on using the repository browser.