libtorrent-boost-1.65.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From 7eb3cf6bc6dbada3fa7bb7ff4d5981182813a0e2 Mon Sep 17 00:00:00 2001
  2. From: arvidn <arvid@cs.umu.se>
  3. Date: Tue, 11 Jul 2017 23:16:50 -0700
  4. Subject: [PATCH] use the official boost.config header
  5. ---
  6. include/libtorrent/export.hpp | 14 +-------------
  7. 1 file changed, 1 insertion(+), 13 deletions(-)
  8. diff --git a/include/libtorrent/export.hpp b/include/libtorrent/export.hpp
  9. index 87536af2a2..503afe27a3 100644
  10. --- a/include/libtorrent/export.hpp
  11. +++ b/include/libtorrent/export.hpp
  12. @@ -33,19 +33,7 @@ POSSIBILITY OF SUCH DAMAGE.
  13. #ifndef TORRENT_EXPORT_HPP_INCLUDED
  14. #define TORRENT_EXPORT_HPP_INCLUDED
  15. -#if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG)
  16. -# include <boost/config/select_compiler_config.hpp>
  17. -#endif
  18. -#ifdef BOOST_COMPILER_CONFIG
  19. -# include BOOST_COMPILER_CONFIG
  20. -#endif
  21. -
  22. -#if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG)
  23. -# include <boost/config/select_platform_config.hpp>
  24. -#endif
  25. -#ifdef BOOST_PLATFORM_CONFIG
  26. -# include BOOST_PLATFORM_CONFIG
  27. -#endif
  28. +#include <boost/config.hpp>
  29. // backwards compatibility with older versions of boost
  30. #if !defined BOOST_SYMBOL_EXPORT && !defined BOOST_SYMBOL_IMPORT