summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2014-12-31 15:58:07 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2015-02-04 22:15:55 -0500
commit3c81f0b3e2da864d10c7b9a137e68516f2c94ce4 (patch)
treea517207e0a9933fbe74794ba9ce9c3fd2a76d092 /gv.c
parent4112ab0dbe2ae98361989f6ab858863697d6ceca (diff)
downloadperl-3c81f0b3e2da864d10c7b9a137e68516f2c94ce4.tar.gz
[PATCH] fix PL_nan_u from leaking in every translation object on Win32 VC
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gv.c b/gv.c
index 82db1975b4..41cebeb19e 100644
--- a/gv.c
+++ b/gv.c
@@ -39,7 +39,7 @@ Perl stores its global variables.
#include "feature.h"
static const char S_autoload[] = "AUTOLOAD";
-static const STRLEN S_autolen = sizeof(S_autoload)-1;
+#define S_autolen (sizeof("AUTOLOAD")-1)
GV *
Perl_gv_add_by_type(pTHX_ GV *gv, svtype type)