diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-02-22 22:03:26 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-02-22 22:03:26 +0000 |
commit | 13b3f78704810709000ac835e0f07862c2b103e2 (patch) | |
tree | 32168589f82933eb5543e958c13caecab387a8c6 /doio.c | |
parent | 44d27a6e4dd2f43427369f61e83839b838b643ae (diff) | |
download | perl-13b3f78704810709000ac835e0f07862c2b103e2.tar.gz |
Add socklen_t probe; Configure maintenance.
p4raw-id: //depot/cfgperl@5213
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -71,12 +71,17 @@ # endif #endif -/* Put this after #includes because <unistd.h> defines _XOPEN_*. */ +/* Put this after #includes because <unistd.h> defines _XOPEN_*. + * Sock_size_t is defined identically in pp_sys.c. */ #ifndef Sock_size_t -# if _XOPEN_VERSION >= 5 || defined(_XOPEN_SOURCE_EXTENDED) || defined(__GLIBC__) -# define Sock_size_t Size_t +# ifdef HAS_SOCKLEN_T +# define Sock_size_t socklen_t # else -# define Sock_size_t int +# if _XOPEN_VERSION >= 5 || defined(_XOPEN_SOURCE_EXTENDED) || defined(__GLIBC__) +# define Sock_size_t Size_t +# else +# define Sock_size_t int +# endif # endif #endif |