-
Notifications
You must be signed in to change notification settings - Fork 22
/
sdcc_vc.h.in
92 lines (71 loc) · 2.41 KB
/
sdcc_vc.h.in
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
85
86
87
88
89
90
91
92
#ifndef SDCC_VC_HEADER
#define SDCC_VC_HEADER
#undef SDCC_VERSION_HI
#undef SDCC_VERSION_LO
#undef SDCC_VERSION_P
#undef SDCC_VERSION_STR
#ifndef __FUNCTION__
#define __FUNCTION__ __FILE__
#endif
#define __func__ __FUNCTION__
#define DIR_SEPARATOR_STRING "\\"
#define DIR_SEPARATOR_CHAR '\\'
#define PREFIX "\\sdcc"
#define EXEC_PREFIX "\\sdcc"
#define BIN_PREFIX "\\sdcc\\bin"
#define DATADIR "\\sdcc"
#define INCLUDE_DIR_SUFFIX "\\include"
#define LIB_DIR_SUFFIX "\\lib"
#define NON_FREE_INCLUDE_DIR_SUFFIX "\\non-free\\include"
#define NON_FREE_LIB_DIR_SUFFIX "\\non-free\\lib"
#define BIN2DATA_DIR "\\.."
#define PREFIX2BIN_DIR "\\bin"
#define PREFIX2DATA_DIR ""
#define BINDIR PREFIX "\\bin"
/* environment variables */
#define SDCC_DIR_NAME "SDCC_HOME"
#define SDCC_INCLUDE_NAME "SDCC_INCLUDE"
#define SDCC_LIB_NAME "SDCC_LIB"
/* standard libraries */
#define STD_LIB "libsdcc"
#define STD_INT_LIB "libint"
#define STD_LONG_LIB "liblong"
#define STD_FP_LIB "libfloat"
#define STD_DS390_LIB "libds390"
#define STD_DS400_LIB "libds400"
#define STD_XA51_LIB NULL
/* #undef HAVE_SYS_SOCKET_H */
#undef HAVE_STRERROR
#define HAVE_VSNPRINTF
#define vsnprintf _vsnprintf
#undef HAVE_SPRINTF
#undef HAVE_VSPRINTF
#undef HAVE_MKSTEMP
#define pclose _pclose
// See http://connect.microsoft.com/VisualStudio/feedback/details/758053/missing-strtold-strtoll-strtoull-functions-from-stdlib-h
#define strtoll _strtoi64
#define strtoull _strtoui64
#define RETSIGTYPE void
#define TYPE_BYTE char
#define TYPE_WORD short
#define TYPE_DWORD int
#define TYPE_QWORD long long
#define TYPE_UBYTE unsigned TYPE_BYTE
#define TYPE_UWORD unsigned TYPE_WORD
#define TYPE_UDWORD unsigned TYPE_DWORD
#define TYPE_UQWORD unsigned TYPE_QWORD
/* #undef WORDS_BIGENDIAN */
/* for flex 2.5.35 and greater */
#define YY_NO_UNISTD_H 1
#undef OPT_DISABLE_MCS51
#undef OPT_DISABLE_GBZ80
#undef OPT_DISABLE_Z80
#define OPT_DISABLE_AVR 1
#undef OPT_DISABLE_TININative
#undef OPT_DISABLE_PIC14
#undef OPT_DISABLE_PIC16
#define OPT_DISABLE_XA51 1
/* Define to 1 if c supports tags in unnamed struct. */
#define UNNAMED_STRUCT_TAG 1
#endif /* SDCC_VC_HEADER */
/* End of sdcc_vc.h */