🏗 Add xdelta3 dependency
This commit is contained in:
parent
80f2439239
commit
ae59ce2256
97 changed files with 45332 additions and 1 deletions
|
@ -1 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
void errorAndExit();
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
struct arguments {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
//minimum of two integers
|
||||
#define min(a,b) \
|
||||
({ __typeof__ (a) _a = (a); \
|
||||
|
|
8
src/xdelta3.c
Normal file
8
src/xdelta3.c
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue