forked from ytsaurus/ytsaurus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add resolving macro-includes for some macros. Pt. 1
Add resolving macro-includes for some macros Detect all macro-includes in Arcadia
- Loading branch information
alperevyshin
committed
May 10, 2023
1 parent
eb7e9ec
commit 2132292
Showing
3 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
contrib/restricted/boost/config/include/boost/config/platform/cloudabi.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright Nuxi, https://nuxi.nl/ 2015. | ||
// Distributed under the Boost Software License, Version 1.0. | ||
// (See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
#define BOOST_PLATFORM "CloudABI" | ||
|
||
#define BOOST_HAS_DIRENT_H | ||
#define BOOST_HAS_STDINT_H | ||
#define BOOST_HAS_UNISTD_H | ||
|
||
#define BOOST_HAS_CLOCK_GETTIME | ||
#define BOOST_HAS_EXPM1 | ||
#define BOOST_HAS_GETTIMEOFDAY | ||
#define BOOST_HAS_LOG1P | ||
#define BOOST_HAS_NANOSLEEP | ||
#define BOOST_HAS_PTHREADS | ||
#define BOOST_HAS_SCHED_YIELD |
31 changes: 31 additions & 0 deletions
31
contrib/restricted/boost/config/include/boost/config/platform/haiku.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// (C) Copyright Jessica Hamilton 2014. | ||
// Use, modification and distribution are subject to the | ||
// Boost Software License, Version 1.0. (See accompanying file | ||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
// See http://www.boost.org for most recent version. | ||
|
||
// Haiku specific config options: | ||
|
||
#define BOOST_PLATFORM "Haiku" | ||
|
||
#define BOOST_HAS_UNISTD_H | ||
#define BOOST_HAS_STDINT_H | ||
|
||
#ifndef BOOST_DISABLE_THREADS | ||
# define BOOST_HAS_THREADS | ||
#endif | ||
|
||
#define BOOST_NO_CXX11_HDR_TYPE_TRAITS | ||
#define BOOST_NO_CXX11_ATOMIC_SMART_PTR | ||
#define BOOST_NO_CXX11_STATIC_ASSERT | ||
#define BOOST_NO_CXX11_VARIADIC_MACROS | ||
|
||
// | ||
// thread API's not auto detected: | ||
// | ||
#define BOOST_HAS_SCHED_YIELD | ||
#define BOOST_HAS_GETTIMEOFDAY | ||
|
||
// boilerplate code: | ||
#include <boost/config/detail/posix_features.hpp> |
23 changes: 23 additions & 0 deletions
23
contrib/restricted/boost/config/include/boost/config/platform/wasm.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// (C) Copyright John Maddock 2020. | ||
// Use, modification and distribution are subject to the | ||
// Boost Software License, Version 1.0. (See accompanying file | ||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
// See http://www.boost.org for most recent version. | ||
|
||
// WASM specific config options: | ||
|
||
#define BOOST_PLATFORM "Wasm" | ||
|
||
#ifdef __has_include | ||
#if __has_include(<unistd.h>) | ||
# define BOOST_HAS_UNISTD_H | ||
#endif | ||
#endif | ||
|
||
// boilerplate code: | ||
#include <boost/config/detail/posix_features.hpp> | ||
// | ||
// fenv lacks the C++11 macros: | ||
// | ||
#define BOOST_NO_FENV_H |