diff options
author | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-04-07 05:32:34 +0000 |
---|---|---|
committer | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-04-07 05:32:34 +0000 |
commit | d6b4941ba371a4de8b8ea6b69bf50741cbe97292 (patch) | |
tree | 3ae45ec011ec5b98eaf9074ca612bfca6b192763 /include/gtest/internal/gtest-string.h | |
parent | 2082f7128be34e7fef9d4586ddbbcf5ab1d25ca2 (diff) | |
download | googletest-d6b4941ba371a4de8b8ea6b69bf50741cbe97292.tar.gz |
C++ Builder compatibility patch by Josh Kelley.
git-svn-id: http://googletest.googlecode.com/svn/trunk@410 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'include/gtest/internal/gtest-string.h')
-rw-r--r-- | include/gtest/internal/gtest-string.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/gtest/internal/gtest-string.h b/include/gtest/internal/gtest-string.h index d1d0297..aff093d 100644 --- a/include/gtest/internal/gtest-string.h +++ b/include/gtest/internal/gtest-string.h @@ -41,6 +41,11 @@ #ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_STRING_H_ #define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_STRING_H_ +#ifdef __BORLANDC__ +// string.h is not guaranteed to provide strcpy on C++ Builder. +#include <mem.h> +#endif + #include <string.h> #include <gtest/internal/gtest-port.h> |