diff options
author | falkTX <falktx@gmail.com> | 2018-05-20 11:28:37 +0200 |
---|---|---|
committer | falkTX <falktx@gmail.com> | 2018-05-20 11:28:37 +0200 |
commit | 6de5fc3285b40e108c23ea246e77812366090feb (patch) | |
tree | dffcc82f023246724915665febeb44c4a05dd705 | |
parent | 9d0da9744baa9d4f18dde82f613418f90ccf0018 (diff) |
Fix pugl namespace under macOS
Closes #34
-rw-r--r-- | dgl/src/Window.cpp | 2 | ||||
-rw-r--r-- | dgl/src/pugl/pugl_osx.m | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/dgl/src/Window.cpp b/dgl/src/Window.cpp index cb848067..65da2d99 100644 --- a/dgl/src/Window.cpp +++ b/dgl/src/Window.cpp @@ -33,6 +33,8 @@ #if defined(DISTRHO_OS_WINDOWS) # include "pugl/pugl_win.cpp" #elif defined(DISTRHO_OS_MAC) +# define PuglWindow DISTRHO_JOIN_MACRO(PuglWindow, DGL_NAMESPACE) +# define PuglOpenGLView DISTRHO_JOIN_MACRO(PuglOpenGLView, DGL_NAMESPACE) # include "pugl/pugl_osx.m" #else # include <sys/types.h> diff --git a/dgl/src/pugl/pugl_osx.m b/dgl/src/pugl/pugl_osx.m index fb848791..02c63012 100644 --- a/dgl/src/pugl/pugl_osx.m +++ b/dgl/src/pugl/pugl_osx.m @@ -24,9 +24,6 @@ #include "pugl_internal.h" -#define PuglWindow PuglWindow ## DGL_NAMESPACE -#define PuglOpenGLView PuglOpenGLView ## DGL_NAMESPACE - @interface PuglWindow : NSWindow { @public |