diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-03-14 13:49:49 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-03-14 13:49:49 -0700 |
| commit | 9d7b7c72b2dd769853bea3423321539ab198829e (patch) | |
| tree | db1a038d5cda0a023b63b449a2b0c53ce9b96428 /controller | |
| parent | d7a6357393f25748e4256d6ccf1321d7532d02b9 (diff) | |
| parent | 95bfc29c92f1c689f181142d226ad642f86cee10 (diff) | |
| download | infinitytier-9d7b7c72b2dd769853bea3423321539ab198829e.tar.gz infinitytier-9d7b7c72b2dd769853bea3423321539ab198829e.zip | |
Merge branch 'dev' into edge
Diffstat (limited to 'controller')
| -rw-r--r-- | controller/RabbitMQ.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/controller/RabbitMQ.cpp b/controller/RabbitMQ.cpp index f5a5c1d6..0b8cec73 100644 --- a/controller/RabbitMQ.cpp +++ b/controller/RabbitMQ.cpp @@ -1,5 +1,7 @@ #include "RabbitMQ.hpp" +#ifdef ZT_CONTROLLER_USE_LIBPQ + #include <amqp.h> #include <amqp_tcp_socket.h> #include <stdexcept> @@ -92,3 +94,5 @@ std::string RabbitMQ::consume() } } + +#endif // ZT_CONTROLLER_USE_LIBPQ |
