-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig_platform68.h
84 lines (67 loc) · 1.38 KB
/
config_platform68.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
83
84
/* sc68 platform dependant configuration */
#ifndef _SC68_CONFIG_PLATFORM68_H_
#define _SC68_CONFIG_PLATFORM68_H_
#ifdef HAVE_CONFIG_H
/* Breakpoint instruction */
#ifndef BREAKPOINT68
# define BREAKPOINT68 if (1) { *(int *)1 = 0x12345678; } else
#endif
/* CDECL keyword */
#define CDECL
/* Define if vsprintf() exists */
#if 1
# define HAVE_VSPRINTF 1
#else
# undef HAVE_VSPRINTF
#endif
/* Define if vsnprintf() exists */
#if 1
# define HAVE_VSNPRINTF 1
#else
# undef HAVE_VSNPRINTF
#endif
/* Define if getenv() exists */
#if 1
# define HAVE_GETENV 1
#else
# undef HAVE_GETENV
#endif
/* Define if <zlib.h> exists */
#if 1
# define HAVE_ZLIB_H 1
#else
# undef HAVE_ZLIB_H
#endif
/* Define if <readline/readline.h> exists */
#if 1
# define HAVE_READLINE_READLINE_H 1
#else
# undef HAVE_READLINE_READLINE_H
#endif
/* Define if <readline/history.h> exists */
#if 1
# define HAVE_READLINE_HISTORY_H 1
#else
# undef HAVE_READLINE_HISTORY_H
#endif
#endif /* #ifdef HAVE_CONFIG_H */
/* Fallback */
#ifndef NO_FALLBACK_CONFIG
#ifdef _MSC_VER
# define HAVE_GETENV 1
# define HAVE_ZLIB_H 1
# define BREAKPOINT68 __asm int 3
# define vsnprintf _vsnprintf
# define vsprintf _vsprintf
# ifndef CDECL
# define CDECL __cdecl
# endif
#endif
#ifndef BREAKPOINT68
# define BREAKPOINT68
#endif
#ifndef CDECL
# define CDECL
#endif
#endif /* #ifndef NO_FALLBACK_CONFIG */
#endif /* #ifndef _SC68_CONFIG_PLATFORM68_H_ */