[libc] Relocate the closing directive of #ifdef

Changed where an #endif was placed because previously it
prevented three macro definitions from being enable in Windows.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D106087
This commit is contained in:
Hedin Garca 2021-07-15 18:13:10 +00:00 committed by Hedin García
parent d5cf437d3a
commit c97cb11efd
1 changed files with 2 additions and 2 deletions

View File

@ -380,12 +380,12 @@ template <typename... Types> using TypeList = internal::TypeList<Types...>;
if (!EXPECT_DEATH(FUNC, EXIT)) \
return
#endif // ENABLE_SUBPROCESS_TESTS
#define __CAT1(a, b) a##b
#define __CAT(a, b) __CAT1(a, b)
#define UNIQUE_VAR(prefix) __CAT(prefix, __LINE__)
#endif // ENABLE_SUBPROCESS_TESTS
#define EXPECT_THAT(MATCH, MATCHER) \
do { \
auto UNIQUE_VAR(__matcher) = (MATCHER); \