13
0

A few visibility changes needed for linking to libpbd (when building with MSVC)

This commit is contained in:
John Emmas 2021-09-04 12:35:44 +01:00
parent f6ed73986b
commit dda7612479
2 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@
#include <glibmm/main.h>
class GlibEventLoopSource : public Glib::Source
class LIBPBD_API GlibEventLoopSource : public Glib::Source
{
public:
GlibEventLoopSource () {};
@ -16,7 +16,7 @@ class GlibEventLoopSource : public Glib::Source
};
class GlibEventLoopCallback : public GlibEventLoopSource
class LIBPBD_API GlibEventLoopCallback : public GlibEventLoopSource
{
public:
GlibEventLoopCallback (boost::function<void()> callback) : _callback (callback) {}

View File

@ -20,6 +20,7 @@
#define _pbd_pcg_rand_
#include <stdint.h>
#include "pbd/libpbd_visibility.h"
namespace PBD
{
@ -29,7 +30,7 @@ namespace PBD
* To be used in cases where an efficient and realtime-safe random
* generator is needed.
*/
class PCGRand
class LIBPBD_API PCGRand
{
public:
PCGRand ();