source: thirdparty/blosc/internal-complibs/snappy-1.1.1/add-version.patch @ 8ebc79b

Revision 8ebc79b, 614 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-c.h

    diff --git a/internal-complibs/snappy-1.1.1/snappy-c.h b/internal-complibs/snappy-1.1.1/snappy-c.h
    index c6c2a86..eabe3ae 100644
    a b  
    3737extern "C" { 
    3838#endif 
    3939 
     40// The next is for getting the Snappy version even if used the C API 
     41// Please note that this is only defined in the Blosc sources of Snappy. 
     42#define SNAPPY_MAJOR 1 
     43#define SNAPPY_MINOR 1 
     44#define SNAPPY_PATCHLEVEL 1 
     45#define SNAPPY_VERSION \ 
     46    ((SNAPPY_MAJOR << 16) | (SNAPPY_MINOR << 8) | SNAPPY_PATCHLEVEL) 
     47 
    4048#include <stddef.h> 
    4149 
    4250/* 
Note: See TracBrowser for help on using the repository browser.