summaryrefslogtreecommitdiff
path: root/dev-libs/boost/files/boost-1.80.0-unordered-ftm-malloc.patch
blob: 95b39e4bb6be27f57f3a5f11948accf5c2467bb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
https://github.com/boostorg/align/commit/5ad7df63cd792fbdb801d600b93cad1a432f0151
https://github.com/boostorg/align/pull/19

From 5ad7df63cd792fbdb801d600b93cad1a432f0151 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira=20Rolim?=
 <34201958+ericonr@users.noreply.github.com>
Date: Fri, 11 Nov 2022 18:29:45 -0300
Subject: [PATCH] Don't use FTMs to determine implementation choice

--- a/boost/align/aligned_alloc.hpp
+++ b/boost/align/aligned_alloc.hpp
@@ -38,7 +38,7 @@ Distributed under the Boost Software License, Version 1.0.
 #include <boost/align/detail/aligned_alloc_posix.hpp>
 #elif defined(sun) || defined(__sun)
 #include <boost/align/detail/aligned_alloc_sunos.hpp>
-#elif (_POSIX_C_SOURCE >= 200112L) || (_XOPEN_SOURCE >= 600)
+#elif defined(_POSIX_VERSION)
 #include <boost/align/detail/aligned_alloc_posix.hpp>
 #else
 #include <boost/align/detail/aligned_alloc.hpp>