From 74b7d676bcd6a43c02fd1f1f2783b96c3cef635a Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 18 Mar 2013 15:46:43 +0000 Subject: [PATCH] use posix_memalign on linux, not valloc --- include/libtorrent/config.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/libtorrent/config.hpp b/include/libtorrent/config.hpp index cee29bed3..346b6c0d7 100644 --- a/include/libtorrent/config.hpp +++ b/include/libtorrent/config.hpp @@ -201,6 +201,7 @@ POSSIBILITY OF SUCH DAMAGE. #define TORRENT_USE_NETLINK 1 #define TORRENT_USE_IFCONF 1 #define TORRENT_HAS_SALEN 0 +#define TORRENT_USE_POSIX_MEMALIGN 1 // ==== MINGW === #elif defined __MINGW32__