sc68fordevelopers  2.2.1
/tmp/B.otnhgz8n/BUILD/sc68-2.2.1/config_platform68.h
1 /* sc68 platform dependant configuration */
2 
3 #ifndef _SC68_CONFIG_PLATFORM68_H_
4 #define _SC68_CONFIG_PLATFORM68_H_
5 
6 #ifdef HAVE_CONFIG_H
7 
8 /* Breakpoint instruction */
9 #ifndef BREAKPOINT68
10 # define BREAKPOINT68 if (1) { *(int *)1 = 0x12345678; } else
11 #endif
12 
13 /* CDECL keyword */
14 #define CDECL
15 
16 /* Define if vsprintf() exists */
17 #if 1
18 # define HAVE_VSPRINTF 1
19 #else
20 # undef HAVE_VSPRINTF
21 #endif
22 
23 /* Define if vsnprintf() exists */
24 #if 1
25 # define HAVE_VSNPRINTF 1
26 #else
27 # undef HAVE_VSNPRINTF
28 #endif
29 
30 /* Define if getenv() exists */
31 #if 1
32 # define HAVE_GETENV 1
33 #else
34 # undef HAVE_GETENV
35 #endif
36 
37 /* Define if <zlib.h> exists */
38 #if 1
39 # define HAVE_ZLIB_H 1
40 #else
41 # undef HAVE_ZLIB_H
42 #endif
43 
44 /* Define if <readline/readline.h> exists */
45 #if 1
46 # define HAVE_READLINE_READLINE_H 1
47 #else
48 # undef HAVE_READLINE_READLINE_H
49 #endif
50 
51 /* Define if <readline/history.h> exists */
52 #if 1
53 # define HAVE_READLINE_HISTORY_H 1
54 #else
55 # undef HAVE_READLINE_HISTORY_H
56 #endif
57 
58 #endif /* #ifdef HAVE_CONFIG_H */
59 
60 /* Fallback */
61 #ifndef NO_FALLBACK_CONFIG
62 
63 #ifdef _MSC_VER
64 # define HAVE_GETENV 1
65 # define HAVE_ZLIB_H 1
66 # define BREAKPOINT68 __asm int 3
67 # define vsnprintf _vsnprintf
68 # define vsprintf _vsprintf
69 # ifndef CDECL
70 # define CDECL __cdecl
71 # endif
72 #endif
73 
74 #ifndef BREAKPOINT68
75 # define BREAKPOINT68
76 #endif
77 
78 #ifndef CDECL
79 # define CDECL
80 #endif
81 
82 #endif /* #ifndef NO_FALLBACK_CONFIG */
83 
84 #endif /* #ifndef _SC68_CONFIG_PLATFORM68_H_ */