Only #define PERL_DONT_CREATE_GVSV if it wasn't already defined.
Nicholas Clark [Sun, 5 Mar 2006 12:12:56 +0000 (12:12 +0000)]
p4raw-id: //depot/perl@27378

perl.h

diff --git a/perl.h b/perl.h
index 797a7c3..c7807b4 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -823,7 +823,9 @@ int usleep(unsigned int);
 /* We no longer default to creating a new SV for GvSV.
    Do this before embed.  */
 #ifndef PERL_CREATE_GVSV
-#define PERL_DONT_CREATE_GVSV
+#  ifndef PERL_DONT_CREATE_GVSV
+#    define PERL_DONT_CREATE_GVSV
+#  endif
 #endif
 
 #if !defined(HAS_WAITPID) && !defined(HAS_WAIT4) || defined(HAS_WAITPID_RUNTIME)