diff options
Diffstat (limited to 'dev-cpp/clucene/files/clucene-2.3.3.4-libc-disambiguate-typedefs.patch')
| -rw-r--r-- | dev-cpp/clucene/files/clucene-2.3.3.4-libc-disambiguate-typedefs.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-cpp/clucene/files/clucene-2.3.3.4-libc-disambiguate-typedefs.patch b/dev-cpp/clucene/files/clucene-2.3.3.4-libc-disambiguate-typedefs.patch new file mode 100644 index 00000000..ae977638 --- /dev/null +++ b/dev-cpp/clucene/files/clucene-2.3.3.4-libc-disambiguate-typedefs.patch @@ -0,0 +1,24 @@ +libc++ - disambiguate typedefs + +From: eroen <eroen@occam.eroen.eu> + + +--- + src/shared/CLucene/config/repl_tchar.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/shared/CLucene/config/repl_tchar.h b/src/shared/CLucene/config/repl_tchar.h +index 159dcc1..0ebba42 100644 +--- a/src/shared/CLucene/config/repl_tchar.h ++++ b/src/shared/CLucene/config/repl_tchar.h +@@ -36,8 +36,8 @@ + #define _tcsncpy wcsncpy //copy a specified amount of one string to another string. + #define _tcscat wcscat //copy a string onto the end of the other string + #define _tcsncat wcsncat +- #define _tcschr wcschr //find location of one character +- #define _tcsstr wcsstr //find location of a string ++ #define _tcschr std::wcschr //find location of one character ++ #define _tcsstr std::wcsstr //find location of a string + #define _tcslen wcslen //get length of a string + #define _tcscmp wcscmp //case sensitive compare two strings + #define _tcsncmp wcsncmp //case sensitive compare two strings |
