diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1998-09-29 03:56:33 +0300 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-10-02 01:53:25 +0000 |
commit | 85ab1d1d99f8dc082af2267b48b9a2c5983f3161 (patch) | |
tree | 15498360e04711d0a640d19d489175cdf9982398 /ext/IPC | |
parent | 13b51b796ac5d39ced5a8f4f5922bfa7ca1678d5 (diff) | |
download | perl-85ab1d1d99f8dc082af2267b48b9a2c5983f3161.tar.gz |
various Configure and hints updates (prefer drand48() or random()
over rand(); add -Dusemultiplicity; enhanced 64-bitness); patch
applied modulo SCO hints superseded by later patch
Message-Id: <199809282156.AAA18615@alpha.hut.fi>
Subject: [PATCH] 5.005_52: Configure et al:
p4raw-id: //depot/perl@1904
Diffstat (limited to 'ext/IPC')
-rw-r--r-- | ext/IPC/SysV/SysV.xs | 12 | ||||
-rw-r--r-- | ext/IPC/SysV/hints/next_3.pl | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/ext/IPC/SysV/SysV.xs b/ext/IPC/SysV/SysV.xs index 0fbf783347..cda71707ad 100644 --- a/ext/IPC/SysV/SysV.xs +++ b/ext/IPC/SysV/SysV.xs @@ -32,6 +32,18 @@ # include <vm/vm_param.h> #endif +#ifndef S_IRWXU +# ifdef S_IRUSR +# define S_IRWXU (S_IRUSR|S_IWUSR|S_IWUSR) +# define S_IRWXG (S_IRGRP|S_IWGRP|S_IWGRP) +# define S_IRWXO (S_IROTH|S_IWOTH|S_IWOTH) +# else +# define S_IRWXU 0700 +# define S_IRWXG 0070 +# define S_IRWXO 0007 +# endif +#endif + MODULE=IPC::SysV PACKAGE=IPC::Msg::stat PROTOTYPES: ENABLE diff --git a/ext/IPC/SysV/hints/next_3.pl b/ext/IPC/SysV/hints/next_3.pl new file mode 100644 index 0000000000..2290ac7400 --- /dev/null +++ b/ext/IPC/SysV/hints/next_3.pl @@ -0,0 +1 @@ +$self->{CCFLAGS} = $Config{ccflags} . ' -D_POSIX_SOURCE' ; |