-
Notifications
You must be signed in to change notification settings - Fork 0
/
cfg.h
82 lines (72 loc) · 1.67 KB
/
cfg.h
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/* cfg.h
* (c) 2002 Mikulas Patocka
* This file is a part of the Links program, released under GPL.
*/
#ifndef CFG_H
#define CFG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG2_H
#include "config2.h"
#endif
#ifdef HAVE_CONFIG_VMS_H
#include "config-vms.h"
#define HAVE_RAND_ADD 1
#define HAVE_RAND_FILE_NAME 1
#define HAVE_RAND_LOAD_FILE 1
#define HAVE_RAND_WRITE_FILE 1
#define HAVE_SSL_GET1_SESSION 1
#define HAVE_ASN1_STRING_TO_UTF8 1
#ifdef VMS_DEBUGLEVEL
#undef DEBUGLEVEL
#define DEBUGLEVEL VMS_DEBUGLEVEL
#endif
#ifdef __VAX
#undef HAVE_LONG_LONG
#undef SIZEOF_UNSIGNED_LONG_LONG
#undef HAVE_SNPRINTF
#undef HAVE_STRTOLL
#undef HAVE_STRTOQ
#undef HAVE_SOCKETPAIR
#undef HAVE_GETADDRINFO
#undef HAVE_FREEADDRINFO
#undef SUPPORT_IPV6
#undef SUPPORT_IPV6_SCOPE
#endif
#endif
#if !defined(G) && DEBUGLEVEL >= 0 && defined(HAVE_SETJMP_H)
#undef HAVE_SETJMP_H
#endif
/* no one will probably ever port svgalib on atheos or beos or port atheos
interface to beos, but anyway: make sure they don't clash */
#if defined(__BEOS__) || defined(__HAIKU__) || defined(__VMS) || defined(__DJGPP)
#ifdef GRDRV_SVGALIB
#undef GRDRV_SVGALIB
#endif
#ifdef GRDRV_ATHEOS
#undef GRDRV_ATHEOS
#endif
#endif
#ifdef GRDRV_ATHEOS
#ifdef GRDRV_SVGALIB
#undef GRDRV_SVGALIB
#endif
#endif
#if !(defined(__EMX__) || defined(_WIN32) || defined(__CYGWIN__))
#ifdef GRDRV_PMSHELL
#undef GRDRV_PMSHELL
#endif
#endif
#ifndef HAVE_VOLATILE
#define volatile
#endif
#if defined(HAVE_RESTRICT) && !defined(__cplusplus)
#define my_restrict restrict
#elif defined(HAVE___RESTRICT) && !defined(__cplusplus)
#define my_restrict __restrict
#else
#define my_restrict
#endif
typedef int cfg_h_no_empty_unit;
#endif