diff --git a/plugins/common.h b/plugins/common.h
index 6cb7cd46f61e122d5023018afe7b991d56cb2db1..dfc09416453372792334ebb90e8ab9c8dbd8f7a6 100644 (file)
--- a/plugins/common.h
+++ b/plugins/common.h
* Copyright (c) 1999 Ethan Galstad (nagios@nagios.org)
* Copyright (c) 2003-2007 Nagios Plugins Development Team
*
-* Last Modified: $Date$
-*
* Description:
*
* This file contains common include files and defines used in many of
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
-* $Id$
*
*****************************************************************************/
#define _COMMON_H_
#include "config.h"
-/* This needs to be removed for Solaris servers, where 64 bit files, but 32 bit architecture
- This needs to be done early on because subsequent system includes use _FILE_OFFSET_BITS
- Cannot remove from config.h because is included by regex.c from lib/ */
-#if __sun__ && !defined(_LP64) && _FILE_OFFSET_BITS == 64
-#undef _FILE_OFFSET_BITS
-#endif
#ifdef HAVE_FEATURES_H
#include <features.h>
};
#endif
-/* Solaris does not have floorf, but floor works. Should probably be in configure */
-#if defined(__sun) || defined(__sun__)
-static inline float floorf (float x) { return floor(x); }
-#endif
-
enum {
STATE_OK,
STATE_WARNING,