diff options
Diffstat (limited to 'python/google/protobuf/pyext/message_map_container.h')
-rw-r--r-- | python/google/protobuf/pyext/message_map_container.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/google/protobuf/pyext/message_map_container.h b/python/google/protobuf/pyext/message_map_container.h index 8286ba8a..4f6cb26a 100644 --- a/python/google/protobuf/pyext/message_map_container.h +++ b/python/google/protobuf/pyext/message_map_container.h @@ -45,7 +45,11 @@ namespace protobuf { class Message; +#ifdef _SHARED_PTR_H +using std::shared_ptr; +#else using internal::shared_ptr; +#endif namespace python { |