diff options
author | Karl Williamson <khw@cpan.org> | 2016-04-08 12:34:09 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-05-09 11:19:05 -0600 |
commit | 4ee010a8de7e086d97cebe73ad4c69d91d1ae7f0 (patch) | |
tree | d67ec9389b0aa57dd53fba172ea82df4c8844b7e /util.h | |
parent | 1656665e748b80ad0727244ca0eae788f521f64f (diff) | |
download | perl-4ee010a8de7e086d97cebe73ad4c69d91d1ae7f0.tar.gz |
Reinstate "Make instr() a macro"
This reverts commit 2e08dfb2b133af0fbcb4346f8d096ca68454ca54, thus
reinstating the commit it reverted. This was delayed until 5.25. The
next commit will solve some problems with c++ that this commit causes
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -229,6 +229,8 @@ means arg not present, 1 is empty string/null byte */ # define HS_CXT cv #endif +#define instr(haystack, needle) strstr(haystack, needle) + /* * ex: set ts=8 sts=4 sw=4 et: */ |