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

@@ -36,6 +36,7 @@
#include "buffer.h"
#include "topic.h"
#include "partition.h"
#include "macros.h"
namespace cppkafka {
@@ -77,7 +78,7 @@ class TopicConfiguration;
*
* \endcode
*/
class Producer : public KafkaHandleBase {
class CPPKAFKA_API Producer : public KafkaHandleBase {
public:
enum PayloadPolicy {
COPY_PAYLOAD = RD_KAFKA_MSG_F_COPY, ///< Means RD_KAFKA_MSG_F_COPY