Skip to content

Commit 8a2b9be

Browse files
committed
Enable Boost.ASIO on Cygwin32.
Boost.ASIO has issues compiling only on Cygwin64 (due to it being an LP64 target), but it should work on Cygwin32.
1 parent f461ca6 commit 8a2b9be

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/changelog.qbk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
[heading 2.34, Boost 1.91]
1313

1414
* Enabled building interprocess communication support on Cygwin by default.
15+
* Enabled building Boost.ASIO support on Cygwin32 (but not Cygwin64).
1516

1617
[heading 2.33, Boost 1.90]
1718

include/boost/log/detail/config.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@
103103
# define BOOST_LOG_NO_CXX11_CODECVT_FACETS
104104
#endif
105105

106-
#if defined(__CYGWIN__) && !defined(BOOST_LOG_WITHOUT_ASIO)
107-
// Boost.ASIO is broken on Cygwin
106+
#if defined(__CYGWIN__) && defined(__LP64__) && !defined(BOOST_LOG_WITHOUT_ASIO)
107+
// Boost.ASIO is broken on Cygwin64
108108
# define BOOST_LOG_WITHOUT_ASIO
109109
#endif
110110

0 commit comments

Comments
 (0)