Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git] / sdcc / sdcc_vc.h.in
blob8cf401b49f8d1668cf5d36edfd4d55bc3f8bd627
1 #ifndef SDCC_VC_HEADER
2 #define SDCC_VC_HEADER
5 #undef SDCC_VERSION_HI
6 #undef SDCC_VERSION_LO
7 #undef SDCC_VERSION_P
8 #undef SDCC_VERSION_STR
10 #ifndef __FUNCTION__
11 #define __FUNCTION__ __FILE__
12 #endif
14 #define __func__ __FUNCTION__
16 #define DIR_SEPARATOR_STRING "\\"
17 #define DIR_SEPARATOR_CHAR '\\'
19 #define PREFIX "\\sdcc"
20 #define EXEC_PREFIX "\\sdcc"
21 #define BIN_PREFIX "\\sdcc\\bin"
22 #define DATADIR "\\sdcc"
24 #define INCLUDE_DIR_SUFFIX "\\include"
25 #define LIB_DIR_SUFFIX "\\lib"
26 #define NON_FREE_INCLUDE_DIR_SUFFIX "\\non-free\\include"
27 #define NON_FREE_LIB_DIR_SUFFIX "\\non-free\\lib"
29 #define BIN2DATA_DIR "\\.."
30 #define PREFIX2BIN_DIR "\\bin"
31 #define PREFIX2DATA_DIR ""
32 #define BINDIR PREFIX "\\bin"
34 /* environment variables */
35 #define SDCC_DIR_NAME "SDCC_HOME"
36 #define SDCC_INCLUDE_NAME "SDCC_INCLUDE"
37 #define SDCC_LIB_NAME "SDCC_LIB"
39 /* standard libraries */
40 #define STD_LIB "libsdcc"
41 #define STD_INT_LIB "libint"
42 #define STD_LONG_LIB "liblong"
43 #define STD_FP_LIB "libfloat"
44 #define STD_DS390_LIB "libds390"
45 #define STD_DS400_LIB "libds400"
46 #define STD_XA51_LIB NULL
48 /* #undef HAVE_SYS_SOCKET_H */
50 #undef HAVE_STRERROR
51 #define HAVE_VSNPRINTF
52 #define vsnprintf _vsnprintf
53 #undef HAVE_SPRINTF
54 #undef HAVE_VSPRINTF
55 #undef HAVE_MKSTEMP
56 #define pclose _pclose
58 // See http://connect.microsoft.com/VisualStudio/feedback/details/758053/missing-strtold-strtoll-strtoull-functions-from-stdlib-h
59 #define strtoll _strtoi64
60 #define strtoull _strtoui64
62 #define RETSIGTYPE void
64 #define TYPE_BYTE char
65 #define TYPE_WORD short
66 #define TYPE_DWORD int
67 #define TYPE_QWORD long long
68 #define TYPE_UBYTE unsigned TYPE_BYTE
69 #define TYPE_UWORD unsigned TYPE_WORD
70 #define TYPE_UDWORD unsigned TYPE_DWORD
71 #define TYPE_UQWORD unsigned TYPE_QWORD
73 /* #undef WORDS_BIGENDIAN */
75 /* for flex 2.5.35 and greater */
76 #define YY_NO_UNISTD_H 1
78 #undef OPT_DISABLE_MCS51
79 #undef OPT_DISABLE_Z80
80 #undef OPT_DISABLE_SM83
81 #undef OPT_DISABLE_TLCS90
82 #define OPT_DISABLE_AVR 1
83 #undef OPT_DISABLE_TININative
84 #undef OPT_DISABLE_PIC14
85 #undef OPT_DISABLE_PIC16
86 #define OPT_DISABLE_XA51 1
88 /* Define to 1 if c supports tags in unnamed struct. */
89 #define UNNAMED_STRUCT_TAG 1
91 #endif /* SDCC_VC_HEADER */
93 /* End of sdcc_vc.h */