Code

Fixed link -m64 problems on pst3 for solaris. Fixed _FILE_OFFSET_BITS
[nagiosplug.git] / plugins / common.h
index 39a28a9d08f79f9d66cb10d2c97c4d87f9c8e3eb..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>