From: Jarkko Hietaniemi Date: Sat, 16 Jun 2001 18:13:59 +0000 (+0000) Subject: #define fix from Nicholas Clark. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=41f4651c3a21976c2a7025d67365a484c22412d6;p=p5sagit%2Fp5-mst-13.2.git #define fix from Nicholas Clark. p4raw-id: //depot/perl@10636 --- diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index 030a68c..80af6d3 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) {