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

@@ -34,6 +34,7 @@
#include <vector>
#include <iosfwd>
#include <algorithm>
#include "macros.h"
namespace cppkafka {
@@ -47,7 +48,7 @@ namespace cppkafka {
* pointer that this buffer points to will still until the call to Producer::produce
* returns.
*/
class Buffer {
class CPPKAFKA_API Buffer {
public:
/**
* The type of data this buffer points to