summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-05-29 15:28:44 -0600
committerKarl Williamson <khw@cpan.org>2019-05-30 18:13:29 -0600
commit54c193aee0eb1f20806952d8fcd2ddadd5e57600 (patch)
treec09a0ef3d39c33034456eb72f63aed152577e185 /util.h
parentfb7c7bc0f8972a6c4797147b8c5b5e0519a2741c (diff)
downloadperl-54c193aee0eb1f20806952d8fcd2ddadd5e57600.tar.gz
embed.fnc: Add flag for bypass macro existence
Sometimes a function is reduced to be a wrapper, and we want for code to directly call the underlying one, but we retain the old 'Perl_foo' function to avoid breaking code that used that form. I've tried various kludges around that, but this seems more promising.
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.h b/util.h
index 71531c7e85..d8fa3e8396 100644
--- a/util.h
+++ b/util.h
@@ -239,6 +239,8 @@ means arg not present, 1 is empty string/null byte */
# define ninstr(big, bigend, little, lend) \
((char *) memmem((big), (bigend) - (big), \
(little), (lend) - (little)))
+#else
+# define ninstr(a,b,c,d) Perl_ninstr(a,b,c,d)
#endif
#ifdef __Lynx__