Skip to content

Commit e9d0467

Browse files
authored
Merge pull request microsoft#212 from denizt/ifndef
ifndef BOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION
2 parents 029471c + e8347d0 commit e9d0467

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Release/include/cpprest/details/cpprest_compat.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@
6868
// without this macro defined, it will create references to __tls_get_addr
6969
// which (while able to link) will not be available at runtime and prevent
7070
// the .so from loading.
71+
#if not defined BOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION
7172
#define BOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION
7273
#endif
74+
#endif
7375

7476
#ifdef __clang__
7577
#include <cstdio>

0 commit comments

Comments
 (0)