C++ Builder compatibility patch by Josh Kelley.

This commit is contained in:
vladlosev
2010-04-07 05:32:34 +00:00
parent 1e908873eb
commit d21c142eb8
4 changed files with 38 additions and 25 deletions

View File

@@ -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>