source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/common.ver@ 1170

Last change on this file since 1170 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 6.3 KB
Line 
1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef VER_LEGALCOPYRIGHT_YEARS
7#define VER_LEGALCOPYRIGHT_YEARS "1985-2005"
8#endif
9
10#ifndef VER_LEGALCOPYRIGHT_STR
11#ifdef RC_INVOKED
12#define VER_LEGALCOPYRIGHT_STR L"\251 Microsoft Corporation. All rights reserved."
13#else
14#define VER_LEGALCOPYRIGHT_STR "Copyright (c) Microsoft Corporation. All rights reserved."
15#endif
16#endif
17
18#ifndef VER_PRODUCTNAME_STR
19#ifdef RC_INVOKED
20#define VER_PRODUCTNAME_STR L"Microsoft\256 Windows\256 Operating System"
21#else
22#define VER_PRODUCTNAME_STR "Microsoft (R) Windows (R) Operating System"
23#endif
24#endif
25
26#ifndef VER_PRODUCTVERSION
27#define VER_PRODUCTVERSION 5,00,01,001
28#endif
29
30#ifndef VER_FILEVERSION
31#define VER_FILEVERSION VER_PRODUCTVERSION
32#endif
33
34#ifndef VER_PRODUCTVERSION_STR
35#define VER_PRODUCTVERSION_STR "5.00"
36#endif
37
38#ifndef VER_FILEVERSION_STR
39#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
40#endif
41
42#ifndef VER_ORIGINALFILENAME_STR
43#define VER_ORIGINALFILENAME_STR VER_INTERNALNAME_STR
44#endif
45
46#ifdef EXPORT_CONTROLLED
47
48#ifdef EXPORT
49#define EXPORT_TAG " (Export Version)"
50#else
51#define EXPORT_TAG " (US/Canada Only, Not for Export)"
52#endif
53#else
54
55#define EXPORT_TAG
56#endif
57
58#if defined(__BUILDMACHINE__)
59#if defined(__BUILDDATE__)
60#define B2(x,y) " (" #x "." #y ")"
61#define B1(x,y) B2(x,y)
62#define BUILD_MACHINE_TAG B1(__BUILDMACHINE__,__BUILDDATE__)
63#else
64#define B2(x) " built by: " #x
65#define B1(x) B2(x)
66#define BUILD_MACHINE_TAG B1(__BUILDMACHINE__)
67#endif
68#if defined(__BUILDMACHINE_LEN__)
69#if __BUILDMACHINE_LEN__ >= 25
70#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG
71#elif __BUILDMACHINE_LEN__ == 24
72#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
73#elif __BUILDMACHINE_LEN__ == 23
74#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
75#elif __BUILDMACHINE_LEN__ == 22
76#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
77#elif __BUILDMACHINE_LEN__ == 21
78#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
79#elif __BUILDMACHINE_LEN__ == 20
80#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
81#elif __BUILDMACHINE_LEN__ == 19
82#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
83#elif __BUILDMACHINE_LEN__ == 18
84#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
85#elif __BUILDMACHINE_LEN__ == 17
86#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
87#elif __BUILDMACHINE_LEN__ == 16
88#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
89#elif __BUILDMACHINE_LEN__ == 15
90#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
91#elif __BUILDMACHINE_LEN__ == 14
92#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
93#elif __BUILDMACHINE_LEN__ == 13
94#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
95#elif __BUILDMACHINE_LEN__ == 12
96#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
97#elif __BUILDMACHINE_LEN__ == 11
98#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
99#elif __BUILDMACHINE_LEN__ == 10
100#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
101#elif __BUILDMACHINE_LEN__ == 9
102#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
103#elif __BUILDMACHINE_LEN__ == 8
104#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
105#elif __BUILDMACHINE_LEN__ == 7
106#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
107#elif __BUILDMACHINE_LEN__ == 6
108#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
109#elif __BUILDMACHINE_LEN__ == 5
110#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
111#elif __BUILDMACHINE_LEN__ == 4
112#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
113#elif __BUILDMACHINE_LEN__ == 3
114#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
115#elif __BUILDMACHINE_LEN__ == 2
116#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
117#elif __BUILDMACHINE_LEN__ == 1
118#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
119#else
120#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG
121#endif
122#else
123#define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG
124#endif
125#else
126#define BUILD_MACHINE_TAG
127#define BUILD_MACHINE_TAG_PADDED
128#endif
129
130#ifdef VER_LANGNEUTRAL
131#ifndef VER_VERSION_UNICODE_LANG
132#define VER_VERSION_UNICODE_LANG "000004B0"
133#endif
134#ifndef VER_VERSION_ANSI_LANG
135#define VER_VERSION_ANSI_LANG "000004E4"
136#endif
137#ifndef VER_VERSION_TRANSLATION
138#define VER_VERSION_TRANSLATION 0x0000,0x04B0
139#endif
140#else
141#ifndef VER_VERSION_UNICODE_LANG
142#define VER_VERSION_UNICODE_LANG "040904B0"
143#endif
144#ifndef VER_VERSION_ANSI_LANG
145#define VER_VERSION_ANSI_LANG "0c0904E4"
146#endif
147#ifndef VER_VERSION_TRANSLATION
148#define VER_VERSION_TRANSLATION 0x0409,0x04B0
149#endif
150#endif
151
152#ifdef RC_INVOKED
153
154VS_VERSION_INFO VERSIONINFO
155FILEVERSION VER_FILEVERSION
156PRODUCTVERSION VER_PRODUCTVERSION
157FILEFLAGSMASK VER_FILEFLAGSMASK
158FILEFLAGS VER_FILEFLAGS
159FILEOS VER_FILEOS
160FILETYPE VER_FILETYPE
161FILESUBTYPE VER_FILESUBTYPE
162BEGIN
163 BLOCK "StringFileInfo"
164 BEGIN
165 BLOCK VER_VERSION_UNICODE_LANG
166 BEGIN
167 VALUE "CompanyName",VER_COMPANYNAME_STR
168 VALUE "FileDescription",VER_FILEDESCRIPTION_STR EXPORT_TAG
169 VALUE "FileVersion",VER_FILEVERSION_STR BUILD_MACHINE_TAG_PADDED
170 VALUE "InternalName",VER_INTERNALNAME_STR
171 VALUE "LegalCopyright",VER_LEGALCOPYRIGHT_STR
172 VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR
173 VALUE "ProductName",VER_PRODUCTNAME_STR
174 VALUE "ProductVersion",VER_PRODUCTVERSION_STR
175#ifdef VER_OLESELFREGISTER
176 VALUE "OleSelfRegister","\0"
177#endif
178 END
179
180#ifdef VER_ANSICP
181 BLOCK VER_VERSION_ANSI_LANG
182 BEGIN
183 VALUE "CompanyName",VER_COMPANYNAME_STR
184 VALUE "FileDescription",VER_FILEDESCRIPTION_STR EXPORT_TAG
185 VALUE "FileVersion",VER_FILEVERSION_STR
186 VALUE "InternalName",VER_INTERNALNAME_STR
187 VALUE "LegalCopyright",VER_LEGALCOPYRIGHT_STR
188 VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR
189 VALUE "ProductName",VER_PRODUCTNAME_STR
190 VALUE "ProductVersion",VER_PRODUCTVERSION_STR
191#ifdef VER_OLESELFREGISTER
192 VALUE "OleSelfRegister","\0"
193#endif
194 END
195#endif
196 END
197
198 BLOCK "VarFileInfo"
199 BEGIN
200 VALUE "Translation",VER_VERSION_TRANSLATION
201 END
202END
203#endif
Note: See TracBrowser for help on using the repository browser.