Go to the documentation of this file.
5 #ifndef __MINGW64_VERSION_MAJOR
8 #define ssize_t _ssize_t
16 #define snprintf _snprintf
17 #define strdup(s) _strdup(s)
18 #define strcasecmp(a, b) _stricmp(a, b)
19 #define strncasecmp(a, b, n) _strnicmp(a, b, n)
20 #define alloca(x) _alloca(x)
24 #define FBCALL __stdcall
30 #define FB_NEWLINE "\r\n"
31 #define FB_NEWLINE_WSTR _LC("\r\n")
34 #define FB_BINARY_NEWLINE "\r\n"
35 #define FB_BINARY_NEWLINE_WSTR _LC("\r\n")
38 #define FB_LL_FMTMOD "ll"
40 #define FB_LL_FMTMOD "I64"
43 #define FB_CONSOLE_MAXPAGES 4
52 #define fseeko(stream, offset, whence) fseeko64(stream, offset, whence)
53 #define ftello(stream) ftello64(stream)
56 #define FB_COLOR_BLACK (0)
57 #define FB_COLOR_BLUE (FOREGROUND_BLUE)
58 #define FB_COLOR_GREEN (FOREGROUND_GREEN)
59 #define FB_COLOR_CYAN (FOREGROUND_GREEN|FOREGROUND_BLUE)
60 #define FB_COLOR_RED (FOREGROUND_RED)
61 #define FB_COLOR_MAGENTA (FOREGROUND_RED|FOREGROUND_BLUE)
62 #define FB_COLOR_BROWN (FOREGROUND_RED|FOREGROUND_GREEN)
63 #define FB_COLOR_WHITE (FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE)
64 #define FB_COLOR_GREY (FOREGROUND_INTENSITY)
65 #define FB_COLOR_LBLUE (FOREGROUND_BLUE|FOREGROUND_INTENSITY)
66 #define FB_COLOR_LGREEN (FOREGROUND_GREEN|FOREGROUND_INTENSITY)
67 #define FB_COLOR_LCYAN (FOREGROUND_GREEN|FOREGROUND_BLUE|FOREGROUND_INTENSITY)
68 #define FB_COLOR_LRED (FOREGROUND_RED|FOREGROUND_INTENSITY)
69 #define FB_COLOR_LMAGENTA (FOREGROUND_RED|FOREGROUND_BLUE|FOREGROUND_INTENSITY)
70 #define FB_COLOR_YELLOW (FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_INTENSITY)
71 #define FB_COLOR_BWHITE (FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE|FOREGROUND_INTENSITY)
74 FBCALL void fb_MtLock(
void );
75 FBCALL void fb_MtUnlock(
void );
76 #define FB_MTLOCK() fb_MtLock()
77 #define FB_MTUNLOCK() fb_MtUnlock()