version 1.3, 2001/05/20 20:34:01
|
version 1.29, 2006/01/30 16:17:07
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// |
|
// Copyright (c) 2000 The Open Group, BMC Software, Tivoli Systems, IBM |
|
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// copy of this software and associated documentation files (the "Software"), |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
// to deal in the Software without restriction, including without limitation |
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; |
// the rights to use, copy, modify, merge, publish, distribute, sublicense, |
// IBM Corp.; EMC Corporation, The Open Group. |
// and/or sell copies of the Software, and to permit persons to whom the |
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
// Software is furnished to do so, subject to the following conditions: |
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
// |
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
// EMC Corporation; VERITAS Software Corporation; The Open Group. |
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
// EMC Corporation; Symantec Corporation; The Open Group. |
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
// |
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
// Permission is hereby granted, free of charge, to any person obtaining a copy |
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
// of this software and associated documentation files (the "Software"), to |
// DEALINGS IN THE SOFTWARE. |
// deal in the Software without restriction, including without limitation the |
|
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
// sell copies of the Software, and to permit persons to whom the Software is |
|
// furnished to do so, subject to the following conditions: |
|
// |
|
// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN |
|
// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED |
|
// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT |
|
// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR |
|
// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
|
// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Mike Brasher (mbrasher@bmc.com) |
|
// |
|
// Modified By: |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_Platform_LINUX_IX86_GNU_h | #ifndef Pegasus_Platform_LINUX_IX86_GNU_h |
#define Pegasus_Platform_LINUX_IX86_GNU_h | #define Pegasus_Platform_LINUX_IX86_GNU_h |
| |
#include <Pegasus/Common/ConfigUnix.h> |
#ifdef __cplusplus |
|
#include <cstddef> |
|
#endif |
|
|
|
#define PEGASUS_OS_TYPE_UNIX |
|
|
|
#ifndef PEGASUS_PLATFORM_LINUX_GENERIC_GNU |
|
#define PEGASUS_PLATFORM_LINUX_GENERIC_GNU |
|
#endif |
#define PEGASUS_OS_LINUX | #define PEGASUS_OS_LINUX |
| |
#define PEGASUS_ARCHITECTURE_IX86 | #define PEGASUS_ARCHITECTURE_IX86 |
|
|
| |
#define PEGASUS_HAVE_TEMPLATE_SPECIALIZATION | #define PEGASUS_HAVE_TEMPLATE_SPECIALIZATION |
| |
#define PEGASUS_HAVE_BOOLEAN |
#ifndef _GNU_SOURCE |
|
#define _GNU_SOURCE |
|
#endif |
|
#ifndef _REENTRANT |
|
#define _REENTRANT |
|
#endif |
|
#define _THREAD_SAFE |
|
#include <features.h> |
|
#include <stdio.h> |
|
#include <stdlib.h> |
|
#include <sys/param.h> // For MAXHOSTNAMELEN |
|
|
|
#if defined(PEGASUS_OS_LSB) && !defined(MAXHOSTNAMELEN) |
|
#define PEGASUS_MAXHOSTNAMELEN 64 |
|
#endif |
|
|
|
#define PEGASUS_SOCKLEN_T socklen_t |
| |
#endif /* Pegasus_Platform_LINUX_IX86_GNU_h */ | #endif /* Pegasus_Platform_LINUX_IX86_GNU_h */ |