Merge STR and VG__STRING macros into one, VG_STRINGIFY. Also, in
valgrind-listener.c, don't use the VG_ prefix on its equivalent, because
it's a local definition.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3454 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_main.c b/coregrind/vg_main.c
index 81181cf..e48dab5 100644
--- a/coregrind/vg_main.c
+++ b/coregrind/vg_main.c
@@ -1244,7 +1244,7 @@
}
// Set redzone size for V's allocator
- vg_malloc_redzonep = dlsym(handle, STR(VG_(vg_malloc_redzone_szB)));
+ vg_malloc_redzonep = dlsym(handle, VG_STRINGIFY(VG_(vg_malloc_redzone_szB)));
if ( NULL != vg_malloc_redzonep ) {
VG_(vg_malloc_redzone_szB) = *vg_malloc_redzonep;
}