🏗 Add xdelta3 dependency

This commit is contained in:
C-3PO 2018-09-14 03:16:31 +02:00
parent 80f2439239
commit ae59ce2256
Signed by: c3po
GPG key ID: 62993C4BB4D86F24
97 changed files with 45332 additions and 1 deletions

View file

@ -1 +1,3 @@
#pragma once
void errorAndExit();

View file

@ -1,3 +1,5 @@
#pragma once
#include <stdbool.h>
struct arguments {

View file

@ -1,3 +1,5 @@
#pragma once
//minimum of two integers
#define min(a,b) \
({ __typeof__ (a) _a = (a); \

8
src/xdelta3.c Normal file
View file

@ -0,0 +1,8 @@
//To fix compile errors with xdelta3
#define SIZEOF_SIZE_T 4
#define static_assert(e,m) /* do nothing */
#define XD3_ENCODER 0
typedef unsigned int usize_t;
typedef unsigned long long xoff_t;
#include "../lib/xdelta3/xdelta3.h"