2
0
mirror of https://github.com/boostorg/log.git synced 2026-02-03 09:12:19 +00:00

Merged changes from trunk. Fixes #8703.

[SVN r84818]
This commit is contained in:
Andrey Semashev
2013-06-17 21:20:22 +00:00
parent 5d313d5383
commit 6cef0658be

View File

@@ -53,8 +53,11 @@
#define BOOST_LOG_HAS_POSIX_MEMALIGN 1
#endif
#elif (defined(_POSIX_VERSION) && (_POSIX_VERSION >= 200112L)) || (defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 600))
// Solaris 10 does not have posix_memalign. Solaris 11 and later seem to have it.
#if !(defined(sun) || defined(__sun)) || defined(__SunOS_5_11) || defined(__SunOS_5_12)
#define BOOST_LOG_HAS_POSIX_MEMALIGN 1
#endif
#endif
#if defined(BOOST_WINDOWS)
#include <malloc.h> // _aligned_malloc, _aligned_free