Merge pull request #428 from protobuf-c/ilya-331

protobuf-c.h: Fix Windows DLL export (Fixes #331)
This commit is contained in:
Robert Edmonds 2020-06-20 15:29:03 -04:00 committed by GitHub
commit 6d08d99dec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -238,7 +238,7 @@ PROTOBUF_C__BEGIN_DECLS
#define PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC 0x114315af
/* Empty string used for initializers */
extern const char protobuf_c_empty_string[];
PROTOBUF_C__API extern const char protobuf_c_empty_string[];
/**
* \defgroup api Public API