X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fgoogletest.h;h=b4677b276dd4fc880d38e8e4a0103795c891f73f;hb=a94afc6807eba4ea4c3638f1aa6c3da182122f4c;hp=2525bc33a0ad83d7136b9a51cbb3d0da283dd6f7;hpb=a0073e504be20faa7e9c3b31ba795bdcfb99c967;p=platform%2Fupstream%2Fglog.git 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 @@ static inline string GetTempDir() { #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/ // (e.g., glog/vsproject/logging_unittest). static const char TEST_SRC_DIR[] = "../..";