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