From 4687a5a8860a2e0b8e70c2c503208e742dcabcf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Dom=C3=ADnguez?= Date: Mon, 18 Nov 2024 19:05:06 +0100 Subject: [PATCH] Use std::placeholders by default --- wscript | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wscript b/wscript index bd7598a35a..ff33d78365 100644 --- a/wscript +++ b/wscript @@ -562,7 +562,6 @@ int main() { return 0; }''', cxx_flags.append('-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION') else: cxx_flags.append('-DBOOST_NO_AUTO_PTR') - cxx_flags.append('-DBOOST_BIND_GLOBAL_PLACEHOLDERS') if (is_clang and platform == "darwin"): # Silence warnings about the non-existing osx clang compiler flags @@ -747,7 +746,7 @@ int main() { return 0; }''', # need ISOC9X for llabs() compiler_flags.extend( - ('-DBOOST_SYSTEM_NO_DEPRECATED', '-DBOOST_BIND_GLOBAL_PLACEHOLDERS', '-D_ISOC9X_SOURCE', + ('-DBOOST_SYSTEM_NO_DEPRECATED', '-D_ISOC9X_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64')) cxx_flags.extend( ('-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS',