blob: cb6a5fe7ac1023a1afff10196529673d183d49f2 (
plain) (
blame)
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
31
32
33
|
/* See LICENSE file for copyright and license details. */
#include "libar2simplified.h"
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <libar2.h>
#ifndef ALIGNOF
# ifdef __STDC_VERSION__
# if __STDC_VERSION__ >= 201112L
# define ALIGNOF(X) _Alignof(X)
# endif
# endif
#endif
#ifndef ALIGNOF
# ifdef __GNUC__
# define ALIGNOF(X) __alignof__(X)
# else
# define ALIGNOF(X) sizeof(X)
# endif
#endif
#ifndef FALLBACK_NPROC
# define FALLBACK_NPROC 4
#endif
|