Skip to content

Commit

Permalink
Complete rename of Boost to Hoost (#1574)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #1574

Change the include paths from `boost/` to `hoost/`.

Reviewed By: avp

Differential Revision: D66799413

fbshipit-source-id: 3e52c4e57ff2561272d1068d4f15df2f16fa8fec
  • Loading branch information
Tzvetan Mikov authored and facebook-github-bot committed Dec 6, 2024
1 parent f3e83ba commit fcda87c
Show file tree
Hide file tree
Showing 131 changed files with 850 additions and 911 deletions.
1 change: 1 addition & 0 deletions external/boost/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ bz2.
dependencies, remove library alias, support `CMAKE_OSX_ARCHITECTURES`
7. Rename the `boost` namespace to `hoost` using a preprocessor define.
8. Rename the `xxx_fcontext()` globals to have a `hoost_` prefix.
9. Change the include path from `boost/` to `hoost/`.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// boost/assert.hpp - BOOST_ASSERT(expr)
// hoost/assert.hpp - BOOST_ASSERT(expr)
// BOOST_ASSERT_MSG(expr, msg)
// BOOST_VERIFY(expr)
// BOOST_VERIFY_MSG(expr, msg)
Expand Down Expand Up @@ -41,8 +41,8 @@

#elif defined(BOOST_ENABLE_ASSERT_HANDLER) || ( defined(BOOST_ENABLE_ASSERT_DEBUG_HANDLER) && !defined(NDEBUG) )

#include <boost/config.hpp> // for BOOST_LIKELY
#include <boost/current_function.hpp>
#include <hoost/config.hpp> // for BOOST_LIKELY
#include <hoost/current_function.hpp>

namespace boost
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Boost config.hpp configuration header file ------------------------------//

// (C) Copyright John Maddock 2002.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// 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/libs/config for most recent version.
Expand All @@ -19,10 +19,10 @@

// if we don't have a user config, then use the default location:
#if !defined(BOOST_USER_CONFIG) && !defined(BOOST_NO_USER_CONFIG)
# define BOOST_USER_CONFIG <boost/config/user.hpp>
# define BOOST_USER_CONFIG <hoost/config/user.hpp>
#if 0
// For dependency trackers:
# include <boost/config/user.hpp>
# include <hoost/config/user.hpp>
#endif
#endif
// include it first:
Expand All @@ -32,7 +32,7 @@

// if we don't have a compiler config set, try and find one:
#if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG) && !defined(BOOST_NO_CONFIG)
# include <boost/config/detail/select_compiler_config.hpp>
# include <hoost/config/detail/select_compiler_config.hpp>
#endif
// if we have a compiler config, include it now:
#ifdef BOOST_COMPILER_CONFIG
Expand All @@ -41,7 +41,7 @@

// if we don't have a std library config set, try and find one:
#if !defined(BOOST_STDLIB_CONFIG) && !defined(BOOST_NO_STDLIB_CONFIG) && !defined(BOOST_NO_CONFIG) && defined(__cplusplus)
# include <boost/config/detail/select_stdlib_config.hpp>
# include <hoost/config/detail/select_stdlib_config.hpp>
#endif
// if we have a std library config, include it now:
#ifdef BOOST_STDLIB_CONFIG
Expand All @@ -50,15 +50,15 @@

// if we don't have a platform config set, try and find one:
#if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) && !defined(BOOST_NO_CONFIG)
# include <boost/config/detail/select_platform_config.hpp>
# include <hoost/config/detail/select_platform_config.hpp>
#endif
// if we have a platform config, include it now:
#ifdef BOOST_PLATFORM_CONFIG
# include BOOST_PLATFORM_CONFIG
#endif

// get config suffix code:
#include <boost/config/detail/suffix.hpp>
#include <hoost/config/detail/suffix.hpp>

#ifdef BOOST_HAS_PRAGMA_ONCE
#pragma once
Expand Down
Loading

0 comments on commit fcda87c

Please sign in to comment.