version 1.10, 2002/02/22 19:16:40
|
version 1.28, 2005/11/22 20:10:30
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2005//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
|
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation, The Open Group. |
|
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; VERITAS Software 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 |
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Mike Brasher (mbrasher@bmc.com) |
|
// |
|
// Modified By: Mike Day (mdday@us.ibm.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#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_FOR_SCOPE | #define PEGASUS_HAVE_FOR_SCOPE |
| |
// #define PEGASUS_HAVE_TEMPLATE_SPECIALIZATION |
#define PEGASUS_HAVE_TEMPLATE_SPECIALIZATION |
| |
#define PEGASUS_HAVE_BOOLEAN |
|
|
|
// #define PEGASUS_EXPLICIT_INSTANTIATION |
|
#ifndef _GNU_SOURCE | #ifndef _GNU_SOURCE |
#define _GNU_SOURCE | #define _GNU_SOURCE |
#endif | #endif |
|
|
#include <features.h> | #include <features.h> |
#include <stdio.h> | #include <stdio.h> |
#include <stdlib.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 */ |