osdep: Fix gettimeofday type to match the real one
[mplayer/glamo.git] / vidix / dhahelperwin / common.ver
blob3295b44320cbee6ca2facafe5fc93e8412880b65
1 /*\r
2  * PROJECT:         ReactOS\r
3  * LICENSE:         GPL - See COPYING in the top level directory\r
4  * FILE:            include/psdk/common.ver\r
5  * PURPOSE:         Common Version File.\r
6  * PROGRAMMERS:     Alex Ionescu (alex.ionescu@reactos.org)\r
7  */\r
8 \r
9 //\r
10 // Copyright Year\r
11 //\r
12 #ifndef VER_LEGALCOPYRIGHT_YEARS\r
13 #define VER_LEGALCOPYRIGHT_YEARS    "2007"\r
14 #endif\r
16 //\r
17 // Copyright String\r
18 //\r
19 #ifndef VER_LEGALCOPYRIGHT_STR\r
20 #if defined(RC_INVOKED) && !defined(WIN16)\r
21 #define VER_LEGALCOPYRIGHT_STR L"\251 ReactOS Foundation. All rights reserved."\r
22 #else\r
23 #define VER_LEGALCOPYRIGHT_STR "Copyright (c) ReactOS Foundation. All rights reserved."\r
24 #endif\r
25 #endif\r
27 //\r
28 // Product Name String\r
29 //\r
30 #ifndef VER_PRODUCTNAME_STR\r
31 #ifdef RC_INVOKED\r
32 #define VER_PRODUCTNAME_STR L"ReactOS\256 Operating System"\r
33 #else\r
34 #define VER_PRODUCTNAME_STR "ReactOS (R) Operating System"\r
35 #endif\r
36 #endif\r
38 //\r
39 // The File Version is the same as the Product Version\r
40 //\r
41 #ifndef VER_FILEVERSION\r
42 #define VER_FILEVERSION VER_PRODUCTVERSION\r
43 #endif\r
44 #ifndef VER_FILEVERSION_STR\r
45 #define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR\r
46 #endif\r
48 //\r
49 // If no Original Name was given, use the Internal NAme\r
50 //\r
51 #ifndef VER_ORIGINALFILENAME_STR\r
52 #define VER_ORIGINALFILENAME_STR VER_INTERNALNAME_STR\r
53 #endif\r
55 //\r
56 // Allow tagging a Build by Machine/Date\r
57 //\r
58 #if defined(__BUILDMACHINE__)\r
59 #if defined(__BUILDDATE__)\r
60 #define B2(x,y) " (" #x "." #y ")"\r
61 #define B1(x,y) B2(x, y)\r
62 #define BUILD_MACHINE_TAG B1(__BUILDMACHINE__, __BUILDDATE__)\r
63 #else\r
64 #define B2(x) " built by: " #x\r
65 #define B1(x) B2(x)\r
66 #define BUILD_MACHINE_TAG B1(__BUILDMACHINE__)\r
67 #endif\r
68 #if defined(__BUILDMACHINE_LEN__)\r
69 #if __BUILDMACHINE_LEN__ >= 25\r
70 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG\r
71 #elif __BUILDMACHINE_LEN__ == 24\r
72 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "\r
73 #elif __BUILDMACHINE_LEN__ == 23\r
74 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "  "\r
75 #elif __BUILDMACHINE_LEN__ == 22\r
76 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "   "\r
77 #elif __BUILDMACHINE_LEN__ == 21\r
78 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "    "\r
79 #elif __BUILDMACHINE_LEN__ == 20\r
80 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "     "\r
81 #elif __BUILDMACHINE_LEN__ == 19\r
82 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "      "\r
83 #elif __BUILDMACHINE_LEN__ == 18\r
84 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "       "\r
85 #elif __BUILDMACHINE_LEN__ == 17\r
86 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "        "\r
87 #elif __BUILDMACHINE_LEN__ == 16\r
88 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "         "\r
89 #elif __BUILDMACHINE_LEN__ == 15                       \r
90 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "          "\r
91 #elif __BUILDMACHINE_LEN__ == 14                               \r
92 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "           "\r
93 #elif __BUILDMACHINE_LEN__ == 13                                 \r
94 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "            "\r
95 #elif __BUILDMACHINE_LEN__ == 12                               \r
96 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "             "\r
97 #elif __BUILDMACHINE_LEN__ == 11                               \r
98 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "              "\r
99 #elif __BUILDMACHINE_LEN__ == 10                               \r
100 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "               "\r
101 #elif __BUILDMACHINE_LEN__ == 9                                \r
102 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "                "\r
103 #elif __BUILDMACHINE_LEN__ == 8                                \r
104 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "                 "\r
105 #elif __BUILDMACHINE_LEN__ == 7                                \r
106 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "                  "\r
107 #elif __BUILDMACHINE_LEN__ == 6                                \r
108 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "                   "\r
109 #elif __BUILDMACHINE_LEN__ == 5                                \r
110 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "                    "\r
111 #elif __BUILDMACHINE_LEN__ == 4                                \r
112 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "                     "\r
113 #elif __BUILDMACHINE_LEN__ == 3                                \r
114 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "                      "\r
115 #elif __BUILDMACHINE_LEN__ == 2                                \r
116 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "                       "\r
117 #elif __BUILDMACHINE_LEN__ == 1                                \r
118 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG "                        "\r
119 #else\r
120 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG\r
121 #endif\r
122 #else\r
123 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG\r
124 #endif\r
125 #else\r
126 #define BUILD_MACHINE_TAG\r
127 #define BUILD_MACHINE_TAG_PADDED\r
128 #endif\r
130 //\r
131 // Set default neutral Unicode Language ID\r
132 //\r
133 #ifndef VER_VERSION_UNICODE_LANG\r
134 #define VER_VERSION_UNICODE_LANG  "000004B0"\r
135 #endif\r
137 //\r
138 // Set default netural ANSI Language ID\r
139 //\r
140 #ifndef VER_VERSION_ANSI_LANG\r
141 #define VER_VERSION_ANSI_LANG     "000004E4"\r
142 #endif\r
144 //\r
145 // Set default netural translation ID\r
146 //\r
147 #ifndef VER_VERSION_TRANSLATION\r
148 #define VER_VERSION_TRANSLATION   0x0000, 0x04B0\r
149 #endif\r
151 //\r
152 // Make sure the Resource Compiler called us.\r
153 // If so, then build the actual version resource.\r
154 //\r
155 #ifdef RC_INVOKED\r
157 VS_VERSION_INFO VERSIONINFO\r
158 FILEVERSION    VER_FILEVERSION\r
159 PRODUCTVERSION VER_PRODUCTVERSION\r
160 FILEFLAGSMASK  VER_FILEFLAGSMASK\r
161 FILEFLAGS      VER_FILEFLAGS\r
162 FILEOS         VER_FILEOS\r
163 FILETYPE       VER_FILETYPE\r
164 FILESUBTYPE    VER_FILESUBTYPE\r
165 BEGIN\r
166     BLOCK "StringFileInfo"\r
167     BEGIN\r
168         BLOCK VER_VERSION_UNICODE_LANG\r
169         BEGIN\r
170             VALUE "CompanyName",     VER_COMPANYNAME_STR\r
171             VALUE "FileDescription", VER_FILEDESCRIPTION_STR\r
172             VALUE "FileVersion",     VER_FILEVERSION_STR BUILD_MACHINE_TAG_PADDED\r
173             VALUE "InternalName",    VER_INTERNALNAME_STR\r
174             VALUE "LegalCopyright",  VER_LEGALCOPYRIGHT_STR\r
175             VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR\r
176             VALUE "ProductName",     VER_PRODUCTNAME_STR\r
177             VALUE "ProductVersion",  VER_PRODUCTVERSION_STR\r
178 #ifdef VER_OLESELFREGISTER\r
179             VALUE "OleSelfRegister", "\0"\r
180 #endif\r
181         END\r
183 #ifdef VER_ANSICP\r
184     BLOCK VER_VERSION_ANSI_LANG\r
185         BEGIN\r
186             VALUE "CompanyName",     VER_COMPANYNAME_STR\r
187             VALUE "FileDescription", VER_FILEDESCRIPTION_STR EXPORT_TAG\r
188             VALUE "FileVersion",     VER_FILEVERSION_STR\r
189             VALUE "InternalName",    VER_INTERNALNAME_STR\r
190             VALUE "LegalCopyright",  VER_LEGALCOPYRIGHT_STR\r
191             VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR\r
192             VALUE "ProductName",     VER_PRODUCTNAME_STR\r
193             VALUE "ProductVersion",  VER_PRODUCTVERSION_STR\r
194 #ifdef VER_OLESELFREGISTER\r
195             VALUE "OleSelfRegister", "\0"\r
196 #endif\r
197         END\r
198 #endif\r
199     END\r
201     BLOCK "VarFileInfo"\r
202     BEGIN\r
203         VALUE "Translation", VER_VERSION_TRANSLATION\r
204     END\r
205 END\r
207 #endif\r