diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-07-19 16:50:45 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-07-19 16:50:45 -0400 |
| commit | 2117fbdae35dddf368c4ce5bb39cc73fa0f78d4c (patch) | |
| tree | 54b38682f94cc183a7b8c87a4693c09902db23aa /lib/include/openmp_wrappers/cmath | |
| parent | 70da0762f7aa2d800da4a238499fc3f31dc4d31f (diff) | |
| download | zig-2117fbdae35dddf368c4ce5bb39cc73fa0f78d4c.tar.gz zig-2117fbdae35dddf368c4ce5bb39cc73fa0f78d4c.zip | |
update C headers to llvm9
upstream commit 1931d3cb20a00da732c5210b123656632982fde0
Diffstat (limited to 'lib/include/openmp_wrappers/cmath')
| -rw-r--r-- | lib/include/openmp_wrappers/cmath | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/include/openmp_wrappers/cmath b/lib/include/openmp_wrappers/cmath new file mode 100644 index 0000000000..a5183a1d8d --- /dev/null +++ b/lib/include/openmp_wrappers/cmath @@ -0,0 +1,16 @@ +/*===-------------- cmath - Alternative cmath header -----------------------=== + * + * 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 + * + *===-----------------------------------------------------------------------=== + */ + +#include <__clang_openmp_math.h> + +#ifndef __CLANG_NO_HOST_MATH__ +#include_next <cmath> +#else +#undef __CLANG_NO_HOST_MATH__ +#endif |
