version 1.33, 2006/01/18 22:22:32
|
version 1.37, 2006/08/09 21:12:42
|
|
|
//%2005//////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. | // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; | // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
// EMC Corporation; VERITAS Software Corporation; The Open Group. | // EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; Symantec Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
| |
#define PEGASUS_DISABLE_INTERNAL_INLINES | #define PEGASUS_DISABLE_INTERNAL_INLINES |
| |
#define PEGASUS_SOCKET SOCKET |
|
#define PEGASUS_INVALID_SOCKET INVALID_SOCKET |
|
|
|
// Exclude rarely-used stuff from Windows headers | // Exclude rarely-used stuff from Windows headers |
// Note: this is also an easy way to avoid the often introduced | // Note: this is also an easy way to avoid the often introduced |
// winsock.h/winsock2.h mixing compiler error problems. | // winsock.h/winsock2.h mixing compiler error problems. |
|
|
#pragma warning( disable : 4800 ) | #pragma warning( disable : 4800 ) |
#endif | #endif |
| |
|
// VC 8 specific pragmas |
|
#if _MSC_VER >= 1400 |
|
// Suppress this warning: '<function>' was declared deprecated |
|
// This warning is supported beginning with VC 8. |
|
#pragma warning ( disable : 4996 ) |
|
|
|
// Suppress this warning: behavior change: an object of POD type constructed with an |
|
// initializer of the form () will be default-initialized |
|
#pragma warning ( disable : 4345 ) |
|
#endif |
|
|
// | // |
// Prior to Microsoft Visual Studio 7.0, there were no stream inserters for | // Prior to Microsoft Visual Studio 7.0, there were no stream inserters for |
// __int64 and unsigned __int64. We declare them if the _MSC_VER is less than | // __int64 and unsigned __int64. We declare them if the _MSC_VER is less than |
|
|
} | } |
#endif /* _MSC_VER < 1300 */ | #endif /* _MSC_VER < 1300 */ |
| |
#define PEGASUS_SOCKLEN_T int |
#define PEGASUS_HAVE_WINDOWS_THREADS |
| |
#endif /* Pegasus_Platform_WIN32_IX86_MSVC_h */ | #endif /* Pegasus_Platform_WIN32_IX86_MSVC_h */ |