diff options
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -25,7 +25,7 @@ | |||
25 | #ifndef _DEFINES_H | 25 | #ifndef _DEFINES_H |
26 | #define _DEFINES_H | 26 | #define _DEFINES_H |
27 | 27 | ||
28 | /* $Id: defines.h,v 1.131 2006/03/15 02:02:28 djm Exp $ */ | 28 | /* $Id: defines.h,v 1.132 2006/05/15 07:17:30 dtucker Exp $ */ |
29 | 29 | ||
30 | 30 | ||
31 | /* Constants */ | 31 | /* Constants */ |
@@ -731,6 +731,16 @@ struct winsize { | |||
731 | # undef HAVE_MMAP | 731 | # undef HAVE_MMAP |
732 | #endif | 732 | #endif |
733 | 733 | ||
734 | #ifndef IOV_MAX | ||
735 | # if defined(_XOPEN_IOV_MAX) | ||
736 | # define IOV_MAX _XOPEN_IOV_MAX | ||
737 | # elif defined(DEF_IOV_MAX) | ||
738 | # define IOV_MAX DEF_IOV_MAX | ||
739 | # else | ||
740 | # define IOV_MAX 16 | ||
741 | # endif | ||
742 | #endif | ||
743 | |||
734 | /* some system headers on HP-UX define YES/NO */ | 744 | /* some system headers on HP-UX define YES/NO */ |
735 | #ifdef YES | 745 | #ifdef YES |
736 | # undef YES | 746 | # undef YES |