]>
Commit | Line | Data |
---|---|---|
1c1af145 | 1 | /* |
2 | * Miscellaneous stuff to include in all .rc files. | |
3 | */ | |
4 | ||
5 | #ifndef PUTTY_RCSTUFF_H | |
6 | #define PUTTY_RCSTUFF_H | |
7 | ||
8 | #ifdef __LCC__ | |
9 | #include <win.h> | |
10 | #else | |
11 | ||
12 | /* Some compilers, like Borland, don't have winresrc.h */ | |
13 | #ifndef NO_WINRESRC_H | |
14 | #ifndef MSVC4 | |
15 | #include <winresrc.h> | |
16 | #else | |
17 | #include <winres.h> | |
18 | #endif | |
19 | #endif | |
20 | ||
21 | #endif /* end #ifdef __LCC__ */ | |
22 | ||
23 | /* Some systems don't define this, so I do it myself if necessary */ | |
24 | #ifndef TCS_MULTILINE | |
25 | #define TCS_MULTILINE 0x0200 | |
26 | #endif | |
27 | ||
28 | /* Likewise */ | |
29 | #ifndef RT_MANIFEST | |
30 | #define RT_MANIFEST 24 | |
31 | #endif | |
32 | ||
33 | /* LCC is the offender here. */ | |
34 | #ifndef VS_FF_DEBUG | |
35 | #define VS_FF_DEBUG 1 | |
36 | #endif | |
37 | #ifndef VS_FF_PRERELEASE | |
38 | #define VS_FF_PRERELEASE 2 | |
39 | #endif | |
40 | #ifndef VS_FF_PRIVATEBUILD | |
41 | #define VS_FF_PRIVATEBUILD 8 | |
42 | #endif | |
43 | #ifndef VOS__WINDOWS32 | |
44 | #define VOS__WINDOWS32 4 | |
45 | #endif | |
46 | #ifndef VFT_APP | |
47 | #define VFT_APP 1 | |
48 | #endif | |
49 | ||
50 | #endif /* PUTTY_RCSTUFF_H */ |