Fix windows linker errors (#120)

This commit is contained in:
multiprogramm
2018-10-17 20:43:33 +03:00
committed by Matias Fontanini
parent fbe3759fed
commit 2b66fd3a22
4 changed files with 8 additions and 4 deletions

View File

@@ -31,6 +31,7 @@
#define CPPKAFKA_MESSAGE_INTERNAL_H
#include <memory>
#include "macros.h"
namespace cppkafka {
@@ -45,7 +46,7 @@ using InternalPtr = std::shared_ptr<Internal>;
/**
* \brief Private message data structure
*/
class MessageInternal {
class CPPKAFKA_API MessageInternal {
public:
MessageInternal(void* user_data, std::shared_ptr<Internal> internal);
static std::unique_ptr<MessageInternal> load(Message& message);