From 03113e40aa429f9b96a0595fe91ae7d6842f3c81 Mon Sep 17 00:00:00 2001 From: Joe Crayne Date: Tue, 16 Oct 2018 19:46:02 -0400 Subject: Added c++ wrapper module. --- haskell/xdelta3.cc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 haskell/xdelta3.cc diff --git a/haskell/xdelta3.cc b/haskell/xdelta3.cc new file mode 100644 index 0000000..6085d39 --- /dev/null +++ b/haskell/xdelta3.cc @@ -0,0 +1,6 @@ + +#define SIZEOF_SIZE_T __SIZEOF_SIZE_T__ +#define SIZEOF_UNSIGNED_INT __SIZEOF_INT__ +#define SIZEOF_UNSIGNED_LONG __SIZEOF_LONG__ +#define SIZEOF_UNSIGNED_LONG_LONG __SIZEOF_LONG_LONG__ +#include "xdelta3/xdelta3.c" -- cgit v1.2.3