Re: [PATCH perl.h] kill the VOIDUSED redefined warning
Stas Bekman [Thu, 20 Jun 2002 16:50:01 +0000 (00:50 +0800)]
Message-ID: <3D119739.4020901@stason.org>

(mod_perl defines might define VOIDUSED)

p4raw-id: //depot/perl@17322

perl.h

diff --git a/perl.h b/perl.h
index d7b281a..9c4a4b9 100644 (file)
--- a/perl.h
+++ b/perl.h
 #include <sys/fcntl.h>
 #endif
 
+#ifdef VOIDUSED
+#   undef VOIDUSED
+#endif 
 #define VOIDUSED 1
+
 #ifdef PERL_MICRO
 #   include "uconfig.h"
 #else