Skip to content

Commit

Permalink
win32: define AMQP_UNUSED for win32
Browse files Browse the repository at this point in the history
does not provide any sort of optimization help for win32.

Fixes #591
  • Loading branch information
alanxz committed Dec 30, 2019
1 parent 915c30c commit 09e6825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librabbitmq/amqp_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
#define AMQP_UNUSED __attribute__((__unused__))
#elif defined(_MSC_VER)
#define AMQP_NORETURN __declspec(noreturn)
#define AMQP_UNUSED
#define AMQP_UNUSED __pragma(warning(suppress : 4100))
#else
#define AMQP_NORETURN
#define AMQP_UNUSED
Expand Down

0 comments on commit 09e6825

Please sign in to comment.