summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-04-05 17:47:01 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-04-05 17:47:01 +0000
commit95809838d5cfaae1179f3279ed783edbe5af00ec (patch)
tree2e4824f24217a8add58d57ace6c4f39ded1e4153 /perl.h
parent470e8f4fba4453a2a1d6683786b56200cb26a0d1 (diff)
downloadperl-95809838d5cfaae1179f3279ed783edbe5af00ec.tar.gz
Introduce d_u32align / U32_REQUIRES_ALIGNMENT, needed for
ext/Digest/MD5/Makefile.PL and t/lib/md5-align.t. Introduce probes for struct msghdr, struct cmsghdr, sendmsg, recvmsg, readv, writev, setitimer, getitimer, ualarm, usleep, for possible later extension work. p4raw-id: //depot/perl@9560
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 7e5d994bd4..ab7a8e8f48 100644
--- a/perl.h
+++ b/perl.h
@@ -718,6 +718,11 @@ typedef struct perl_mstats perl_mstats_t;
# define WIN32SCK_IS_STDSCK /* don't pull in custom wsock layer */
#endif
+/* In Tru64 use the 4.4BSD struct msghdr, not the 4.3 one */
+#if defined(__osf__) && defined(__alpha) && !defined(_SOCKADDR_LEN)
+# define _SOCKADDR_LEN
+#endif
+
#if defined(HAS_SOCKET) && !defined(VMS) /* VMS handles sockets via vmsish.h */
# include <sys/socket.h>
# if defined(USE_SOCKS) && defined(I_SOCKS)
@@ -3626,6 +3631,20 @@ typedef struct am_table_short AMTS;
NVff
NVgf
+ HAS_USLEEP
+ HAS_UALARM
+
+ HAS_SETITIMER
+ HAS_GETITIMER
+
+ HAS_SENDMSG
+ HAS_RECVMSG
+ HAS_READV
+ HAS_WRITEV
+ I_SYSUIO
+ HAS_STRUCT_MSGHDR
+ HAS_STRUCT_CMSGHDR
+
so that Configure picks them up. */
#endif /* Include guard */