1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef _LIBCPP___PSTL_BACKEND_H
10 #define _LIBCPP___PSTL_BACKEND_H
12 #include <__cxx03/__config>
13 #include <__cxx03/__pstl/backend_fwd.h>
15 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
16 # pragma GCC system_header
20 #include <__cxx03/__undef_macros>
22 #if defined(_LIBCPP_PSTL_BACKEND_SERIAL)
23 # include <__cxx03/__pstl/backends/default.h>
24 # include <__cxx03/__pstl/backends/serial.h>
25 #elif defined(_LIBCPP_PSTL_BACKEND_STD_THREAD)
26 # include <__cxx03/__pstl/backends/default.h>
27 # include <__cxx03/__pstl/backends/std_thread.h>
28 #elif defined(_LIBCPP_PSTL_BACKEND_LIBDISPATCH)
29 # include <__cxx03/__pstl/backends/default.h>
30 # include <__cxx03/__pstl/backends/libdispatch.h>
35 #endif // _LIBCPP___PSTL_BACKEND_H