diff --git a/source/lib/config.h b/source/lib/config.h index fb8c2de4f4..78e6e09b1c 100644 --- a/source/lib/config.h +++ b/source/lib/config.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2021 Wildfire Games. +/* Copyright (C) 2025 Wildfire Games. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the @@ -52,9 +52,4 @@ # define CONFIG_ENABLE_CHECKS 0 #endif -// allow the use of Boost? (affects PCH and several individual modules) -#ifndef CONFIG_ENABLE_BOOST -# define CONFIG_ENABLE_BOOST 1 -#endif - #endif // #ifndef INCLUDED_CONFIG diff --git a/source/lib/precompiled.h b/source/lib/precompiled.h index 4652fadf98..9ef085a412 100644 --- a/source/lib/precompiled.h +++ b/source/lib/precompiled.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2022 Wildfire Games. +/* Copyright (C) 2025 Wildfire Games. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the @@ -36,7 +36,7 @@ # define MINIMAL_PCH 0 #endif -#include "lib/config.h" // CONFIG_ENABLE_BOOST, CONFIG_ENABLE_PCH +#include "lib/config.h" // CONFIG_ENABLE_PCH #include "lib/sysdep/compiler.h" // MSC_VERSION // must come before any STL headers are included @@ -74,9 +74,7 @@ double __cdecl abs(double x); // not declared by mathimf #include "lib/lib.h" #include "lib/secure_crt.h" -#if CONFIG_ENABLE_BOOST -# include "lib/pch/pch_boost.h" -#endif +#include "lib/pch/pch_boost.h" #include #include diff --git a/source/lib/sysdep/os/win/wsysdep.cpp b/source/lib/sysdep/os/win/wsysdep.cpp index 6c59b3a726..ad6a84d486 100644 --- a/source/lib/sysdep/os/win/wsysdep.cpp +++ b/source/lib/sysdep/os/win/wsysdep.cpp @@ -1,4 +1,4 @@ -/* Copyright (C) 2023 Wildfire Games. +/* Copyright (C) 2025 Wildfire Games. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the @@ -39,10 +39,8 @@ #include "lib/sysdep/os/win/error_dialog.h" #include "lib/sysdep/os/win/wutil.h" -#if CONFIG_ENABLE_BOOST -# include -# include -#endif +#include +#include #include @@ -523,8 +521,6 @@ Status sys_generate_random_bytes(u8* buffer, size_t size) } -#if CONFIG_ENABLE_BOOST - /* * Given a string of the form * "example.com:80" @@ -635,8 +631,6 @@ done: return err; } -#endif - FILE* sys_OpenFile(const OsPath& pathname, const char* mode) { FILE* f = 0;