Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
sysdefs.h File Reference

Common includes, definitions, system-specific things etc. More...

#include <stddef.h>
#include <limits.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>

Go to the source code of this file.

Macros

#define UINT32_C(n)
 
#define UINT32_MAX   UINT32_C(4294967295)
 
#define PRIu32   "u"
 
#define PRIx32   "x"
 
#define PRIX32   "X"
 
#define UINT64_C(n)
 
#define PRIu64   "lu"
 
#define PRIx64   "lx"
 
#define PRIX64   "lX"
 
#define UINT64_MAX   UINT64_C(18446744073709551615)
 
#define bool   _Bool
 
#define false   0
 
#define true   1
 
#define __bool_true_false_are_defined   1
 
#define memzero(s, n)
 
#define my_min(x, y)
 
#define my_max(x, y)
 
#define ARRAY_SIZE(array)
 
#define lzma_attr_alloc_size(x)
 

Detailed Description

Common includes, definitions, system-specific things etc.

This file is used also by the lzma command line tool, that's why this file is separate from common.h.

Macro Definition Documentation

◆ __bool_true_false_are_defined

#define __bool_true_false_are_defined   1

◆ ARRAY_SIZE

#define ARRAY_SIZE ( array)
Value:
(sizeof(array) / sizeof((array)[0]))

◆ bool

#define bool   _Bool

◆ false

#define false   0

◆ lzma_attr_alloc_size

#define lzma_attr_alloc_size ( x)

◆ memzero

#define memzero ( s,
n )
Value:
memset(s, 0, n)

◆ my_max

#define my_max ( x,
y )
Value:
((x) > (y) ? (x) : (y))

◆ my_min

#define my_min ( x,
y )
Value:
((x) < (y) ? (x) : (y))

◆ PRIu32

#define PRIu32   "u"

◆ PRIu64

#define PRIu64   "lu"

◆ PRIX32

#define PRIX32   "X"

◆ PRIx32

#define PRIx32   "x"

◆ PRIX64

#define PRIX64   "lX"

◆ PRIx64

#define PRIx64   "lx"

◆ true

#define true   1

◆ UINT32_C

#define UINT32_C ( n)
Value:
n ## U
#define U(r)

◆ UINT32_MAX

#define UINT32_MAX   UINT32_C(4294967295)

◆ UINT64_C

#define UINT64_C ( n)
Value:
n ## UL

◆ UINT64_MAX

#define UINT64_MAX   UINT64_C(18446744073709551615)