aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/iostreams/patches/macro-redefinition.patch
blob: 7c3b260f144978977b60f71b844989c823471010 (plain) (blame)
1
2
3
4
5
6
7
--- a/include/boost/iostreams/detail/system_failure.hpp	(index)
+++ b/include/boost/iostreams/detail/system_failure.hpp	(working tree)
@@ -27,1 +27,3 @@ namespace std { using ::strlen; }
-# define WIN32_LEAN_AND_MEAN  // Exclude rarely-used stuff from Windows headers
+# ifndef WIN32_LEAN_AND_MEAN
+#  define WIN32_LEAN_AND_MEAN  // Exclude rarely-used stuff from Windows headers
+# endif