diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-03-05 21:21:06 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-03-05 21:21:06 +0000 |
commit | 83589cca345d2f03d93b0555437aa480e0ed6699 (patch) | |
tree | aca5d19835a1562fd71e48e6ca289f33b0f68e30 /include/gtest/internal/gtest-death-test-internal.h | |
parent | 542b41e5d010cf0a18a37252d5f4b05cfa5408af (diff) | |
download | googletest-83589cca345d2f03d93b0555437aa480e0ed6699.tar.gz googletest-83589cca345d2f03d93b0555437aa480e0ed6699.tar.bz2 googletest-83589cca345d2f03d93b0555437aa480e0ed6699.zip |
Supports building gtest as a DLL (by Vlad Losev).
Diffstat (limited to 'include/gtest/internal/gtest-death-test-internal.h')
-rw-r--r-- | include/gtest/internal/gtest-death-test-internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gtest/internal/gtest-death-test-internal.h b/include/gtest/internal/gtest-death-test-internal.h index e98650e3..e4330848 100644 --- a/include/gtest/internal/gtest-death-test-internal.h +++ b/include/gtest/internal/gtest-death-test-internal.h @@ -64,7 +64,7 @@ const char kInternalRunDeathTestFlag[] = "internal_run_death_test"; // by wait(2) // exit code: The integer code passed to exit(3), _exit(2), or // returned from main() -class DeathTest { +class GTEST_API_ DeathTest { public: // Create returns false if there was an error determining the // appropriate action to take for the current death test; for example, @@ -147,7 +147,7 @@ class DefaultDeathTestFactory : public DeathTestFactory { // Returns true if exit_status describes a process that was terminated // by a signal, or exited normally with a nonzero exit code. -bool ExitedUnsuccessfully(int exit_status); +GTEST_API_ bool ExitedUnsuccessfully(int exit_status); // This macro is for implementing ASSERT_DEATH*, EXPECT_DEATH*, // ASSERT_EXIT*, and EXPECT_EXIT*. |