version 1.17.14.2, 2003/07/16 21:45:25
|
version 1.20, 2004/03/31 19:09:11
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2003//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM, |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Development |
// The Open Group, Tivoli Systems |
// 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. |
// | // |
// 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 |
|
|
// Modified By: Mike Day (mdday@us.ibm.com) | // Modified By: Mike Day (mdday@us.ibm.com) |
// Carol Ann Krug Graves, Hewlett-Packard Company | // Carol Ann Krug Graves, Hewlett-Packard Company |
// (carolann_graves@hp.com) | // (carolann_graves@hp.com) |
|
// Bapu Patil (bapu_patil@hp.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
| |
#define PEGASUS_OS_TYPE_UNIX | #define PEGASUS_OS_TYPE_UNIX |
| |
#ifdef PEGASUS_PLATFORM_LINUX_GENERIC_GNU |
#ifndef PEGASUS_PLATFORM_LINUX_GENERIC_GNU |
# undef PEGASUS_PLATFORM_LINUX_GENERIC_GNU |
|
# define PEGASUS_PLATFORM_LINUX_GENERIC_GNU | # define PEGASUS_PLATFORM_LINUX_GENERIC_GNU |
#endif | #endif |
|
|
#define PEGASUS_OS_LINUX | #define PEGASUS_OS_LINUX |
| |
#define PEGASUS_ARCHITECTURE_IX86 | #define PEGASUS_ARCHITECTURE_IX86 |
|
|
#include <features.h> | #include <features.h> |
#include <stdio.h> | #include <stdio.h> |
#include <stdlib.h> | #include <stdlib.h> |
|
#include <sys/param.h> // For MAXHOSTNAMELEN |
#ifndef min | #ifndef min |
#define min(a,b) (((a)<(b))?(a):(b)) | #define min(a,b) (((a)<(b))?(a):(b)) |
#endif | #endif |