commit | ea628ae809aa3ab7ab9137103c4deea5c7485414 | [log] [tgz] |
---|---|---|
author | Sergiu Dotenco <sergiu.dotenco@th-nuernberg.de> | Thu Mar 26 15:56:33 2015 +0100 |
committer | Sergiu Dotenco <sergiu.dotenco@gmail.com> | Wed Jul 15 22:34:58 2015 +0200 |
tree | dfcb0385433f06c3705e769c491c499b04481ab4 | |
parent | 332525803605d752ff054535cb0600d680f4ac9a [diff] |
allow to define TEST_SRC_DIR as a macro
diff --git a/src/googletest.h b/src/googletest.h index 2525bc3..b4677b2 100644 --- a/src/googletest.h +++ b/src/googletest.h
@@ -81,7 +81,7 @@ #endif } -#if defined(OS_WINDOWS) && defined(_MSC_VER) +#if defined(OS_WINDOWS) && defined(_MSC_VER) && !defined(TEST_SRC_DIR) // The test will run in glog/vsproject/<project name> // (e.g., glog/vsproject/logging_unittest). static const char TEST_SRC_DIR[] = "../..";