Files
clang-p2996/libc/utils/UnitTest/PlatformDefs.h
Siva Chandra Reddy 6344a583ca [libc] Add a macro to include/exclude subprocess tests.
This is useful when bringing up LLVM libc on a new OS on which we do not
yet have the subprocess related helper functions.
2021-06-08 23:30:21 +00:00

17 lines
599 B
C++

//===-- Platform specific defines for the unittest library ------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIBC_UTILS_UNITTEST_PLATFORMDEFS_H
#define LLVM_LIBC_UTILS_UNITTEST_PLATFORMDEFS_H
#if !(defined(_WIN32) || defined(_WIN64))
#define ENABLE_SUBPROCESS_TESTS
#endif
#endif // LLVM_LIBC_UTILS_UNITTEST_PLATFORMDEFS_H