[Nagiosplug-devel] _FILE_OFFSET_BITS in plugins/common.h

Thomas Guyot-Sionnest dermoth at aei.ca
Wed Feb 13 12:47:05 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In plugins/common.h there's the following lines:

/* 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

Since I added AC_SYS_LARGEFILE to configure.in it should detect the
filesystem interfaces available and set _FILE_OFFSET_BITS accordingly in
config.h. I'm wondering is these lines can be removed... Any ideas?

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHsti56dZ+Kt5BchYRAsxpAJ9WFiFcewUS2OrwsvKs2rn4ma6BtwCg+OEB
kf/K7Lc/GgU7uPsWByCyTu0=
=EhIY
-----END PGP SIGNATURE-----




More information about the Devel mailing list