~ubuntu-branches/ubuntu/wily/libsereal-encoder-perl/wily

« back to all changes in this revision

Viewing changes to srl_encoder.c

  • Committer: Package Import Robot
  • Author(s): gregor herrmann
  • Date: 2014-10-20 18:26:33 UTC
  • mfrom: (17.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20141020182633-ojroz2634vd16lqf
Tags: 3.003-1
* Team upload.
* New upstream release.
* Bump versioned build dependency on libsereal-decoder-perl.
* Set SEREAL_USE_BUNDLED_LIBS=1 in debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
#include "ptable.h"
53
53
#include "srl_buffer.h"
54
54
 
 
55
#if defined(HAVE_CSNAPPY)
 
56
#include <csnappy.h>
 
57
#else
55
58
#include "snappy/csnappy_compress.c"
 
59
#endif
 
60
 
 
61
#if defined(HAVE_MINIZ)
 
62
#include <miniz.h>
 
63
#else
56
64
#include "miniz.h"
 
65
#endif
57
66
 
58
67
/* The ENABLE_DANGEROUS_HACKS (passed through from ENV via Makefile.PL) enables
59
68
 * optimizations that may make the code so cozy with a particular version of the