Skip to content

Commit

Permalink
Prevent multiple definition of ASIO_ERROR_CATEGORY_NOEXCEPT with newe…
Browse files Browse the repository at this point in the history
…st MSVC.
  • Loading branch information
chriskohlhoff committed May 5, 2015
1 parent fcf901e commit 15803ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions asio/include/asio/detail/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,7 @@
# define ASIO_ERROR_CATEGORY_NOEXCEPT noexcept(true)
# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
# endif // defined(__GNUC__)
# if defined(ASIO_MSVC)
# elif defined(ASIO_MSVC)
# if (_MSC_VER >= 1900)
# define ASIO_ERROR_CATEGORY_NOEXCEPT noexcept(true)
# endif // (_MSC_VER >= 1900)
Expand Down

0 comments on commit 15803ab

Please sign in to comment.