mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-27 13:31:02 +08:00
protobuf-c.h: Fix Windows DLL export (Fixes #331)
protobuf_c_empty_string is used in generated .pb-c.{c,h} files so it should be exported properly.
This commit is contained in:
parent
39cd58f5ff
commit
4c8043d026
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user