packages/libs/zmq/patches/040-fix_GNUC_conditional_for_GCC5.patch
Ted Hess 735403a5d4 zmq: update to 4.1.3, fix GCC5 error, refresh patches
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-12-07 12:07:06 -05:00

11 lines
416 B
Diff

--- a/src/blob.hpp
+++ b/src/blob.hpp
@@ -38,7 +38,7 @@
// They seem to be doing something for MSC, but since I only have gcc, I'll just do that
// Assuming this is uneccessary on GCC 4
// #if (defined(__GNUC__) && (__GNUC__ >= 3) || (defined(_MSC_VER) && _MSC_VER > 1000))
-#if (defined(__GNUC__) && (__GNUC__ >= 3) && (__GNUC__ <= 4))
+#if (defined(__GNUC__) && (__GNUC__ >= 3))
namespace std
{
template<>