summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-05-28 17:55:48 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-05-28 17:55:48 +0000
commit1d26b16b4a5b44b9f5893c8b4c8ce90d163883e5 (patch)
tree974e1f2ef55cbaa61e22b9ff38038121dd1b5350 /perl.h
parent6b08c9a8168823775a729ecbf24a403d8849eba8 (diff)
downloadperl-1d26b16b4a5b44b9f5893c8b4c8ce90d163883e5.tar.gz
Back out change 1043 since Andy's forthcoming Config patch
includes a modified version. p4raw-id: //depot/perl@1046
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/perl.h b/perl.h
index 8645c393fb..fc9606438a 100644
--- a/perl.h
+++ b/perl.h
@@ -2090,26 +2090,6 @@ enum {
UNLOCK_SV_MUTEX; \
} while (0)
-#ifdef HAS_SEM
-# include <sys/ipc.h>
-# include <sys/sem.h>
-# ifndef HAS_UNION_SEMUN /* Provide the union semun. */
- union semun {
- int val;
- struct semid_ds *buf;
- unsigned short *array;
- };
-# endif
-# ifdef USE_SEMCTL_SEMUN
-# define Semctl(id, num, cmd, semun) semctl(id, num, cmd, semun)
-# else
-# ifdef USE_SEMCTL_SEMID_DS
-# define Semctl(id, num, cmd, semun) semctl(id, num, cmd, semun.buf)
-# endif
-# endif
-# ifndef Semctl /* Place our bets on the semun horse. */
-# define Semctl(id, num, cmd, semun) semctl(id, num, cmd, semun)
-# endif
-#endif
#endif /* Include guard */
+