aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorvladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2010-04-07 05:32:34 +0000
committervladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2010-04-07 05:32:34 +0000
commitd21c142eb89ce42817165368641329072e2ad8fb (patch)
tree3ae45ec011ec5b98eaf9074ca612bfca6b192763 /include
parent1e908873eb34f2ae5473e5ed88e2bf5ba574e068 (diff)
downloadgoogletest-d21c142eb89ce42817165368641329072e2ad8fb.tar.gz
googletest-d21c142eb89ce42817165368641329072e2ad8fb.tar.bz2
googletest-d21c142eb89ce42817165368641329072e2ad8fb.zip
C++ Builder compatibility patch by Josh Kelley.
Diffstat (limited to 'include')
-rw-r--r--include/gtest/internal/gtest-string.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/gtest/internal/gtest-string.h b/include/gtest/internal/gtest-string.h
index d1d0297c..aff093de 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>