This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In Perl_load_module_nocontext(), ver can actually be NULL.
[perl5.git] / gv.h
diff --git a/gv.h b/gv.h
index fbd7e34..16aa058 100644 (file)
--- a/gv.h
+++ b/gv.h
@@ -176,7 +176,9 @@ Return the SV from the GV.
 #undef  GV_UNIQUE_CHECK
 #endif
 
-#define Nullgv Null(GV*)
+#ifndef PERL_CORE
+#  define Nullgv Null(GV*)
+#endif
 
 #define DM_UID   0x003
 #define DM_RUID   0x001