From 41f4651c3a21976c2a7025d67365a484c22412d6 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Sat, 16 Jun 2001 18:13:59 +0000 Subject: #define fix from Nicholas Clark. p4raw-id: //depot/perl@10636 --- ext/POSIX/POSIX.xs | 13 +------------ 1 file changed, 1 insertion(+), 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) { -- cgit v1.2.1