Export symbols on Windows dll builds

This commit is contained in:
Matias Fontanini
2016-06-19 09:46:28 -07:00
parent 678ac88c9b
commit 831111812e
14 changed files with 83 additions and 23 deletions

View File

@@ -35,6 +35,7 @@
#include <librdkafka/rdkafka.h>
#include "buffer.h"
#include "topic.h"
#include "macros.h"
namespace cppkafka {
@@ -48,7 +49,7 @@ namespace cppkafka {
* necessary when calling Consumer::poll() as any poll operation that returns a null pointer will
* return an empty message.
*/
class Message {
class CPPKAFKA_API Message {
public:
/**
* Constructs a message that won't take ownership of the given pointer