-
Notifications
You must be signed in to change notification settings - Fork 0
/
banner.h
61 lines (56 loc) · 1.84 KB
/
banner.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
#include <stdio.h>
////////////////////////////////////////////////////////////////////////////////
void banner(void) {
printf(TITLE "\n"
" " COPYR "\n"
"Reloaded version " VERSI
" (%d-bit "
#if defined(__CYGWIN__)
"Windows, Cygwin"
#elif defined(__MINGW32__)
"Windows, MinGW"
#elif defined(_WIN32) && defined(_MSC_VER) && (defined(__alpha) || defined(__ALPHA) || defined(__Alpha_AXP))
"Windows, Digital AXP C"
#elif defined(_WIN32) && defined(_MSC_VER) && defined(_M_ALPHA)
"Windows, Microsoft C, Alpha"
#elif defined(_WIN32) && defined(_MSC_VER) && defined(_M_MRX000)
"Windows, Microsoft C, MIPS"
#elif defined(_WIN32) && defined(_MSC_VER)
"Windows, Microsoft C"
#elif defined(__WIN32__) || defined(_WIN32)
"Windows"
#elif defined(__DJGPP__)
"DOS, DJGPP"
#elif defined(__MSDOS__) && defined(__TURBOC__)
"DOS, Turbo C"
#elif defined(_DOS) && defined(__WATCOMC__)
"DOS, Watcom"
#elif defined(__MSDOS__) || defined(MSDOS) || defined(_DOS)
"DOS"
#elif defined(__APPLE__)
"Mac OS"
#elif defined(__linux) || defined(__linux__) || defined(__gnu_linux__) || defined(linux)
"Linux"
#elif defined(__OpenBSD__)
"OpenBSD"
#elif defined(BSD)
"BSD"
#elif defined(human68k) || defined(HUMAN68K) || defined(__human68k) || defined(__HUMAN68K) || defined(__human68k__) || defined(__HUMAN68K__)
"Human68k"
#elif defined(__unix__) || defined(__unix) || defined(unix)
"unknown Unix"
#else
"unknown platform"
#endif
"%s)\n"
" https://www.electrosoftcloud.com/\n"
"\n"
" Binary Build date: %s @ %s\n"
"\n"
,
(int)(sizeof(size_t) * 8),
(sizeof(off_t) > 4 && sizeof(off_t) > sizeof(size_t)) ? ", large file support" : "",
__DATE__, __TIME__
);
}
////////////////////////////////////////////////////////////////////////////////