diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2010-11-26 11:16:43 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2010-11-26 11:16:43 +0000 |
commit | 93cbed6e2bcb419c6f0c425bad6ec4addb52a96a (patch) | |
tree | 288f9dd9f882d630f3ca64c57e340bfc6f29713b /pcre_stringpiece.h.in | |
parent | 78d4828aaa1f15dfc4b40c0f718112f6508254f8 (diff) | |
download | pcre-93cbed6e2bcb419c6f0c425bad6ec4addb52a96a.tar.gz |
Patches to avoid build problems in some Borland environments.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@580 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_stringpiece.h.in')
-rw-r--r-- | pcre_stringpiece.h.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pcre_stringpiece.h.in b/pcre_stringpiece.h.in index b017661..369c10f 100644 --- a/pcre_stringpiece.h.in +++ b/pcre_stringpiece.h.in @@ -38,7 +38,7 @@ #ifndef _PCRE_STRINGPIECE_H #define _PCRE_STRINGPIECE_H -#include <string.h> +#include <cstring> #include <string> #include <iosfwd> // for ostream forward-declaration @@ -52,6 +52,8 @@ #include <pcre.h> +using std::memcmp; +using std::strlen; using std::string; namespace pcrecpp { |