This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Only #define PERL_DONT_CREATE_GVSV if it wasn't already defined.
[perl5.git] / 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)