aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/stubs/once.h
diff options
context:
space:
mode:
authorGravatar liujisi@google.com <liujisi@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2013-01-11 10:35:05 +0000
committerGravatar liujisi@google.com <liujisi@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2013-01-11 10:35:05 +0000
commit117064c18b13dfe2e46f26b6dabe986c44f60fcd (patch)
tree0d84740e8ca73ee6555097bf00e8c139c12ea7ae /src/google/protobuf/stubs/once.h
parent71caf8c25def6d337e6ff7f752e487089d752b6f (diff)
add missing dll export macros for msvc.
Diffstat (limited to 'src/google/protobuf/stubs/once.h')
-rw-r--r--src/google/protobuf/stubs/once.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/google/protobuf/stubs/once.h b/src/google/protobuf/stubs/once.h
index c8cbe246..7fbc117f 100644
--- a/src/google/protobuf/stubs/once.h
+++ b/src/google/protobuf/stubs/once.h
@@ -118,6 +118,7 @@ typedef internal::AtomicWord ProtobufOnceType;
#define GOOGLE_PROTOBUF_ONCE_INIT ::google::protobuf::ONCE_STATE_UNINITIALIZED
+LIBPROTOBUF_EXPORT
void GoogleOnceInitImpl(ProtobufOnceType* once, Closure* closure);
inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)()) {