]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/dll/example/tutorial_common/my_plugin_api.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / dll / example / tutorial_common / my_plugin_api.hpp
index 66504c8fd1113e56d64bc807fbf12c1cb347b32a..d8fe8582563460de9f4d11aa7114190137a4a718 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright 2016-2017 Antony Polukhin.
+// Copyright 2016-2019 Antony Polukhin.
 //
 // Distributed under the Boost Software License, Version 1.0.
 // (See accompanying file LICENSE_1_0.txt
@@ -8,9 +8,10 @@
 #define BOOST_DLL_MY_PLUGIN_API_HPP
 
 //[plugapi
+#include <boost/config.hpp>
 #include <string>
 
-class my_plugin_api {
+class BOOST_SYMBOL_VISIBLE my_plugin_api {
 public:
    virtual std::string name() const = 0;
    virtual float calculate(float x, float y) = 0;