summaryrefslogtreecommitdiff
path: root/boost/iostreams/detail/config/gcc.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/iostreams/detail/config/gcc.hpp')
-rw-r--r--boost/iostreams/detail/config/gcc.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/boost/iostreams/detail/config/gcc.hpp b/boost/iostreams/detail/config/gcc.hpp
index e8512098ce..a1d57b081f 100644
--- a/boost/iostreams/detail/config/gcc.hpp
+++ b/boost/iostreams/detail/config/gcc.hpp
@@ -19,6 +19,9 @@
#if defined(__GNUC__) && !defined(BOOST_INTEL)
# define BOOST_IOSTREAMS_GCC (__GNUC__ * 100 + __GNUC_MINOR__)
+# define BOOST_IOSTREAMS_GCC_WORKAROUND_GUARD 1
+#else
+# define BOOST_IOSTREAMS_GCC_WORKAROUND_GUARD 0
#endif
#endif // #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_GCC_HPP_INCLUDED