2 * Copyright (c) 2005 SilverStorm Technologies. All rights reserved.
\r
4 * This software is available to you under the OpenIB.org BSD license
\r
7 * Redistribution and use in source and binary forms, with or
\r
8 * without modification, are permitted provided that the following
\r
9 * conditions are met:
\r
11 * - Redistributions of source code must retain the above
\r
12 * copyright notice, this list of conditions and the following
\r
15 * - Redistributions in binary form must reproduce the above
\r
16 * copyright notice, this list of conditions and the following
\r
17 * disclaimer in the documentation and/or other materials
\r
18 * provided with the distribution.
\r
20 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
\r
21 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
\r
22 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
\r
23 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
\r
24 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
\r
25 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
\r
26 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
\r
33 #include <windows.h>
\r
36 #if (VER_FILEBUILD < 10)
\r
37 #define VER_FILEBPAD "000"
\r
38 #elif (VER_FILEBUILD < 100)
\r
39 #define VER_FILEBPAD "00"
\r
40 #elif (VER_FILEBUILD < 1000)
\r
41 #define VER_FILEBPAD "0"
\r
43 #define VER_FILEBPAD
\r
46 #define VER_FILEVERSION VER_FILEMAJORVERSION,\
\r
47 VER_FILEMINORVERSION,\
\r
51 #define VER_FILEVERSION_STR2(M,m,b,r) #M "." #m "." VER_FILEBPAD #b "." #r
\r
52 #define VER_FILEVERSION_STR1(M,m,b,r) VER_FILEVERSION_STR2(M,m,b,r)
\r
53 #define VER_FILEVERSION_STR VER_FILEVERSION_STR1( VER_FILEMAJORVERSION, \
\r
54 VER_FILEMINORVERSION, \
\r
58 #undef __BUILDMACHINE__
\r
60 #ifdef VER_COMPANYNAME_STR
\r
61 #undef VER_COMPANYNAME_STR
\r
63 #define VER_COMPANYNAME_STR IB_COMPANYNAME
\r
65 #ifdef VER_PRODUCTNAME_STR
\r
66 #undef VER_PRODUCTNAME_STR
\r
68 #define VER_PRODUCTNAME_STR IB_PRODUCTNAME
\r
70 #define VER_LEGALCOPYRIGHT_STR "Copyright\xa9 2005 OpenIB Alliance"
\r