summaryrefslogtreecommitdiffstats
path: root/usr.sbin/afs/src/acconfig.h
blob: 7bc6a5ca8c6dbfb5a3976adf8f24c23d40b5ebda (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
34
35
36
@BOTTOM@

/* RCSID */
#define RCSID(msg) \
static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }

/* Maximum values on all known systems */
#define MaxHostNameLen (64+4)
#define MaxPathLen (1024+4)

/* we always have stds.h */
#define HAVE_STDS_H

/*
 * Defintions that are ugly but needed to get all the symbols used
 */

/*
 * Defining this enables lots of useful (and used) extensions on
 * glibc-based systems such as Linux
 */

#define _GNU_SOURCE

/*
 * Defining this enables us to get the definition of `sigset_t' and
 * other importatnt definitions on Solaris.
 */

#ifndef __EXTENSIONS__
#define __EXTENSIONS__
#endif

#ifndef HAVE___ATTRIBUTE__
#define __attribute__(x)
#endif