From 914c390813ad0bb3f60694085fccf320d4c0a024 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Skytte=20J=C3=B8rgensen?= Date: Sat, 17 Oct 2015 13:52:07 +0200 Subject: Lib: fix incorrect preprocessor conditional Use logical-or instead of bitwise-or in preprocessor conditional. --- librabbitmq/amqp_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librabbitmq/amqp_private.h b/librabbitmq/amqp_private.h index f803330..ab2b5f3 100644 --- a/librabbitmq/amqp_private.h +++ b/librabbitmq/amqp_private.h @@ -64,7 +64,7 @@ #endif /* GCC attributes */ -#if __GNUC__ > 2 | (__GNUC__ == 2 && __GNUC_MINOR__ > 4) +#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) #define AMQP_NORETURN \ __attribute__ ((__noreturn__)) #define AMQP_UNUSED \ -- cgit v1.2.1