summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-16 18:13:59 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-16 18:13:59 +0000
commit41f4651c3a21976c2a7025d67365a484c22412d6 (patch)
tree3c08ab467478c916174085dcda8bb3841ef6646e
parent63b097aac4bf2c02bfcc6ca595dd152a6cf7c747 (diff)
downloadperl-41f4651c3a21976c2a7025d67365a484c22412d6.tar.gz
#define fix from Nicholas Clark.
p4raw-id: //depot/perl@10636
-rw-r--r--ext/POSIX/POSIX.xs13
1 files changed, 1 insertions, 12 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index 030a68cc4d..80af6d3b01 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -335,16 +335,7 @@ not_here(char *s)
return -1;
}
-#define PERL_constant_NOTFOUND 1
-#define PERL_constant_NOTDEF 2
-#define PERL_constant_ISIV 3
-#define PERL_constant_ISNO 4
-#define PERL_constant_ISNV 5
-#define PERL_constant_ISPV 6
-#define PERL_constant_ISPVN 7
-#define PERL_constant_ISUNDEF 8
-#define PERL_constant_ISUV 9
-#define PERL_constant_ISYES 10
+#include "constants.c"
/* These were implemented in the old "constant" subroutine. They are actually
macros that take an integer argument and return an integer result. */
@@ -513,8 +504,6 @@ __END__
return PERL_constant_NOTFOUND;
}
-#include "constants.c"
-
static void
restore_sigmask(sigset_t *ossetp)
{