19
19
#include < cstddef>
20
20
#include < iterator>
21
21
#include < boost/assert.hpp>
22
- #include < boost/detail/workaround.hpp>
23
22
#include < boost/type_traits/is_convertible.hpp>
24
23
#include < boost/type_traits/add_const.hpp>
25
24
#include " asio/buffer.hpp"
@@ -126,9 +125,9 @@ class buffers_iterator
126
125
127
126
// / Construct an iterator representing the beginning of the buffers' data.
128
127
static buffers_iterator begin (const BufferSequence& buffers)
129
- #if BOOST_WORKAROUND (__GNUC__, == 4) && BOOST_WORKAROUND (__GNUC_MINOR__, == 3)
128
+ #if defined (__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ == 3)
130
129
__attribute__ ((noinline))
131
- #endif
130
+ #endif // defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ == 3)
132
131
{
133
132
buffers_iterator new_iter;
134
133
new_iter.begin_ = buffers.begin ();
@@ -146,9 +145,9 @@ class buffers_iterator
146
145
147
146
// / Construct an iterator representing the end of the buffers' data.
148
147
static buffers_iterator end (const BufferSequence& buffers)
149
- #if BOOST_WORKAROUND (__GNUC__, == 4) && BOOST_WORKAROUND (__GNUC_MINOR__, == 3)
148
+ #if defined (__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ == 3)
150
149
__attribute__ ((noinline))
151
- #endif
150
+ #endif // defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ == 3)
152
151
{
153
152
buffers_iterator new_iter;
154
153
new_iter.begin_ = buffers.begin ();
0 commit comments