diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-04-05 17:47:01 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-04-05 17:47:01 +0000 |
commit | 4e0554ec1a41c5b5d840b8e29e149a0efe77a52c (patch) | |
tree | 2e4824f24217a8add58d57ace6c4f39ded1e4153 /uconfig.h | |
parent | 2ece6c116c30837778f908504e30526eeb0ade40 (diff) | |
download | perl-4e0554ec1a41c5b5d840b8e29e149a0efe77a52c.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 'uconfig.h')
-rw-r--r-- | uconfig.h | 67 |
1 files changed, 67 insertions, 0 deletions
@@ -641,6 +641,12 @@ */ /*#define HAS_UMASK / **/ +/* HAS_USLEEP: + * This symbol, if defined, indicates that the usleep routine is + * available to let the process sleep on a sub-second accuracy. + */ +/*#define HAS_USLEEP / **/ + /* HASVOLATILE: * This symbol, if defined, indicates that this C compiler knows about * the volatile declaration. @@ -1237,6 +1243,12 @@ */ /*#define VOID_CLOSEDIR / **/ +/* HAS_STRUCT_CMSGHDR: + * This symbol, if defined, indicates that the struct cmsghdr + * is supported. + */ +/*#define HAS_STRUCT_CMSGHDR / **/ + /* HAS_CSH: * This symbol, if defined, indicates that the C-shell exists. */ @@ -1458,6 +1470,12 @@ */ /*#define HAS_GETHOST_PROTOS / **/ +/* HAS_GETITIMER: + * This symbol, if defined, indicates that the getitimer routine is + * available to return interval timers. + */ +/*#define HAS_GETITIMER / **/ + /* HAS_GETMNT: * This symbol, if defined, indicates that the getmnt routine is * available to get filesystem mount info by filename. @@ -1766,6 +1784,12 @@ */ /*#define HAS_MSG / **/ +/* HAS_STRUCT_MSGHDR: + * This symbol, if defined, indicates that the struct msghdr + * is supported. + */ +/*#define HAS_STRUCT_MSGHDR / **/ + /* HAS_OFF64_T: * This symbol will be defined if the C compiler supports off64_t. */ @@ -1806,6 +1830,19 @@ #define SCHED_YIELD sched_yield() /**/ /*#define HAS_SCHED_YIELD / **/ +/* HAS_READV: + * This symbol, if defined, indicates that the readv routine is + * available to do gather reads. You will also need <sys/uio.h> + * and there I_SYSUIO. + */ +/*#define HAS_READV / **/ + +/* HAS_RECVMSG: + * This symbol, if defined, indicates that the recvmsg routine is + * available to send structured socket messages. + */ +/*#define HAS_RECVMSG / **/ + /* HAS_SAFE_BCOPY: * This symbol, if defined, indicates that the bcopy routine is available * to copy potentially overlapping memory blocks. Otherwise you should @@ -1844,6 +1881,12 @@ */ /*#define HAS_SEM / **/ +/* HAS_SENDMSG: + * This symbol, if defined, indicates that the sendmsg routine is + * available to send structured socket messages. + */ +/*#define HAS_SENDMSG / **/ + /* HAS_SETGRENT: * This symbol, if defined, indicates that the setgrent routine is * available for initializing sequential access of the group database. @@ -1863,6 +1906,12 @@ */ /*#define HAS_SETHOSTENT / **/ +/* HAS_SETITIMER: + * This symbol, if defined, indicates that the setitimer routine is + * available to set interval timers. + */ +/*#define HAS_SETITIMER / **/ + /* HAS_SETNETENT: * This symbol, if defined, indicates that the setnetent() routine is * available. @@ -2198,6 +2247,12 @@ */ /*#define HAS_TIMES / **/ +/* HAS_UALARM: + * This symbol, if defined, indicates that the ualarm routine is + * available to do alarms with microsecond granularity. + */ +/*#define HAS_UALARM / **/ + /* HAS_UNION_SEMUN: * This symbol, if defined, indicates that the union semun is * defined by including <sys/sem.h>. If not, the user code @@ -2253,6 +2308,12 @@ #define HAS_VPRINTF /**/ /*#define USE_CHAR_VSPRINTF / **/ +/* HAS_WRITEV: + * This symbol, if defined, indicates that the writev routine is + * available to do scatter writes. + */ +/*#define HAS_WRITEV / **/ + /* USE_DYNAMIC_LOADING: * This symbol, if defined, indicates that dynamic loading of * some sort is available. @@ -3261,4 +3322,10 @@ */ /*#define HAS_SOCKATMARK / **/ +/* U32_ALIGNMENT_REQUIRED: + * This symbol, if defined, indicates that you must access + * character data through U32-aligned pointers. + */ +#define U32_ALIGNMENT_REQUIRED /**/ + #endif |