Code

Verbose should not have to exceed 3 as per developement guidelines
[nagiosplug.git] / plugins / common.h
index 6cb7cd46f61e122d5023018afe7b991d56cb2db1..0711dbf13939ae465a15620559dc2c55add10c4f 100644 (file)
 #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>
@@ -182,11 +176,6 @@ enum {
 };
 #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,