Bump boost to 1.88.0

This commit is contained in:
Yukino Song
2025-05-26 11:37:40 +08:00
parent a94e8ec4f9
commit a1ecd25700
7 changed files with 36 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
#
include_guard(GLOBAL)
set(BOOST_VERSION "1.87.0")
set(BOOST_VERSION "1.88.0")
set(BOOST_COMPONENTS
filesystem
locale

View File

@@ -11,7 +11,6 @@
// lib includes
#include <boost/algorithm/string/join.hpp>
#include <boost/process/v1.hpp>
#include <MinHook.h>
// We have to include boost/process/v1.hpp before display.h due to WinSock.h,
@@ -41,7 +40,6 @@ namespace platf {
}
namespace platf::dxgi {
namespace bp = boost::process;
/**
* DDAPI-specific initialization goes here.

View File

@@ -10,10 +10,16 @@
#include <set>
#include <sstream>
#ifndef BOOST_PROCESS_VERSION
#define BOOST_PROCESS_VERSION 1
#endif
// lib includes
#include <boost/algorithm/string.hpp>
#include <boost/asio/ip/address.hpp>
#include <boost/process/v1.hpp>
#include <boost/process/v1/child.hpp>
#include <boost/process/v1/group.hpp>
#include <boost/process/v1/environment.hpp>
#include <boost/program_options/parsers.hpp>
// prevent clang format from "optimizing" the header include order
@@ -1949,3 +1955,7 @@ static int setClipboardData(const std::wstring& utf16Str) {
return 0;
}
#ifdef BOOST_PROCESS_VERSION
#undef BOOST_PROCESS_VERSION
#endif

View File

@@ -8,12 +8,19 @@
#define __kernel_entry
#endif
#ifndef BOOST_PROCESS_VERSION
#define BOOST_PROCESS_VERSION 1
#endif
// standard includes
#include <optional>
#include <unordered_map>
// lib includes
#include <boost/process/v1.hpp>
#include <boost/process/v1/child.hpp>
#include <boost/process/v1/group.hpp>
#include <boost/process/v1/environment.hpp>
#include <boost/process/v1/search_path.hpp>
#include <boost/property_tree/ptree.hpp>
#include <nlohmann/json.hpp>
@@ -189,3 +196,7 @@ namespace proc {
extern int terminate_app_id;
extern std::string terminate_app_id_str;
} // namespace proc
#ifdef BOOST_PROCESS_VERSION
#undef BOOST_PROCESS_VERSION
#endif

View File

@@ -29,6 +29,10 @@
#define TRAY_MSG_NO_APP_RUNNING "Reload Apps"
#ifndef BOOST_PROCESS_VERSION
#define BOOST_PROCESS_VERSION 1
#endif
// standard includes
#include <csignal>
#include <string>
@@ -417,4 +421,9 @@ namespace system_tray {
}
} // namespace system_tray
#ifdef BOOST_PROCESS_VERSION
#undef BOOST_PROCESS_VERSION 1
#endif
#endif