1 karl 1.22 //%2004////////////////////////////////////////////////////////////////////////
|
2 mike 1.9 //
|
3 karl 1.22 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
4 // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
5 // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
|
6 karl 1.18 // IBM Corp.; EMC Corporation, The Open Group.
|
7 karl 1.22 // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
|
9 mike 1.9 //
10 // Permission is hereby granted, free of charge, to any person obtaining a copy
|
11 kumpf 1.12 // of this software and associated documentation files (the "Software"), to
12 // deal in the Software without restriction, including without limitation the
13 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
14 mike 1.9 // sell copies of the Software, and to permit persons to whom the Software is
15 // furnished to do so, subject to the following conditions:
16 //
|
17 kumpf 1.12 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
|
18 mike 1.9 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
19 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
20 kumpf 1.12 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
21 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
22 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
23 mike 1.9 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 //
26 //==============================================================================
27 //
28 //%/////////////////////////////////////////////////////////////////////////////
29
30 #ifndef Pegasus_Platform_WIN32_IX86_MSVC_h
31 #define Pegasus_Platform_WIN32_IX86_MSVC_h
32
|
33 kumpf 1.13 #define PEGASUS_OS_TYPE_WINDOWS
34
35 #define PEGASUS_EXPORT __declspec(dllexport)
36
37 #define PEGASUS_IMPORT __declspec(dllimport)
|
38 mike 1.9
39 #define PEGASUS_OS_WIN32
40
41 #define PEGASUS_ARCHITECTURE_IX86
42
43 #define PEGASUS_COMPILER_MSVC
44
45 #define PEGASUS_UINT64 unsigned __int64
46
47 #define PEGASUS_SINT64 __int64
|
48 s.hills 1.17
|
49 kumpf 1.14 #define PEGASUS_SINT64_LITERAL(X) Sint64(X)
50 #define PEGASUS_UINT64_LITERAL(X) Uint64(X)
|
51 mday 1.10
|
52 kumpf 1.15 #define PEGASUS_64BIT_CONVERSION_WIDTH "I64"
53
|
54 mike 1.9 #define PEGASUS_HAVE_NAMESPACES
55
56 #define PEGASUS_HAVE_EXPLICIT
57
58 #define PEGASUS_HAVE_MUTABLE
59
60 // #define PEGASUS_HAVE_FOR_SCOPE
61
62 #define PEGASUS_HAVE_TEMPLATE_SPECIALIZATION
63
|
64 kumpf 1.13 #define PEGASUS_HAVE_IOS_BINARY
|
65 s.hills 1.17
|
66 kumpf 1.19 #define PEGASUS_MAXHOSTNAMELEN 64
67
|
68 s.hills 1.17 // Exclude rarely-used stuff from Windows headers
69 // Note: this is also an easy way to avoid the often introduced
70 // winsock.h/winsock2.h mixing compiler error problems.
|
71 david.dillard 1.20 #ifndef WIN32_LEAN_AND_MEAN
|
72 s.hills 1.17 #define WIN32_LEAN_AND_MEAN
|
73 david.dillard 1.20 #endif
|
74 kumpf 1.13
75 // Suppress this warning: "identifier was truncated to '255' characters in the
76 // debug information":
77 #pragma warning( disable : 4786 )
78
79 // Suppress this warning: "class <XXX> needs to have dll-interface to be used
80 // by clients of class <YYY>"
81 #pragma warning ( disable : 4251 )
82
|
83 tony 1.16 // Supress this warning : non dll-interface class <XXX> used as base
84 // for dll-interface class <YYY>
85 #pragma warning( disable : 4275 )
86
87 // Supresss this warning : C++ exception specification ignored except
88 // to indicate a function is not __declspec(nothrow)
89 #pragma warning( disable : 4290 )
90
|
91 kumpf 1.13 // Suppress this warning : "'this' : used in base member initializer list"
92 #pragma warning ( disable : 4355 )
|
93 tony 1.16
|
94 mike 1.9
95 #endif /* Pegasus_Platform_WIN32_IX86_MSVC_h */
|