aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
blob: bae7410d42f00ebbaad642dd5532bf10907ed904 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once
#include "protocol.h"

#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>

#include <zlib.h>


#if INTPTR_MAX == INT32_MAX
	#define PRNE_HOST_WORDSIZE 32
#elif INTPTR_MAX == INT64_MAX
	#define PRNE_HOST_WORDSIZE 64
#else
	#error "FIXME!"
#endif

#define PRNE_PROG_VER {\
	0x11, 0xf7, 0x6b, 0x87, 0x62, 0x1a, 0x47, 0x9c,\
	0xa2, 0x18, 0x5c, 0x55, 0x40, 0x33, 0x7c, 0x9f\
}
#define PRNE_SHG_SALT {\
	0x31, 0xe4, 0xf1, 0x7c, 0xdb, 0x76, 0x43, 0x32,\
	0xaf, 0x48, 0xfd, 0x9f, 0xb8, 0x45, 0x3f, 0x8f\
}

#define PRNE_PACK_Z_LEVEL Z_DEFAULT_COMPRESSION

extern const prne_arch_t prne_host_arch;