diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-03-05 21:21:06 (GMT) |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-03-05 21:21:06 (GMT) |
commit | 83589cca345d2f03d93b0555437aa480e0ed6699 (patch) | |
tree | aca5d19835a1562fd71e48e6ca289f33b0f68e30 /src | |
parent | 542b41e5d010cf0a18a37252d5f4b05cfa5408af (diff) | |
download | googletest-83589cca345d2f03d93b0555437aa480e0ed6699.zip googletest-83589cca345d2f03d93b0555437aa480e0ed6699.tar.gz googletest-83589cca345d2f03d93b0555437aa480e0ed6699.tar.bz2 |
Supports building gtest as a DLL (by Vlad Losev).
Diffstat (limited to 'src')
-rw-r--r-- | src/gtest_main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtest_main.cc b/src/gtest_main.cc index d20c02f..6d4d22d 100644 --- a/src/gtest_main.cc +++ b/src/gtest_main.cc @@ -31,7 +31,7 @@ #include <gtest/gtest.h> -int main(int argc, char **argv) { +GTEST_API_ int main(int argc, char **argv) { std::cout << "Running main() from gtest_main.cc\n"; testing::InitGoogleTest(&argc, argv); |