solaris_bogons.h 453 B

12345678910111213141516171819
  1. #ifndef VSF_SOLARIS_BOGONS_H
  2. #define VSF_SOLARIS_BOGONS_H
  3. /* This bogon ensures we get access to CMSG_DATA, CMSG_FIRSTHDR */
  4. #define _XPG4_2
  5. /* This bogon prevents _XPG4_2 breaking the include of signal.h! */
  6. #define __EXTENSIONS__
  7. /* Safe to always enable 64-bit file support. */
  8. #define _FILE_OFFSET_BITS 64
  9. #define _LARGEFILE_SOURCE 1
  10. #define _LARGEFILE64_SOURCE 1
  11. /* Need dirfd() */
  12. #include "dirfd_extras.h"
  13. #endif /* VSF_SOLARIS_BOGONS_H */