diff options
author | Robin Gareus <robin@gareus.org> | 2017-03-21 01:58:45 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-03-21 01:58:45 +0100 |
commit | d3e730abbff7f8e851ab5934372fb20c7846e61b (patch) | |
tree | d5593a2d66d4debab348bef1f120e8673bf92173 /libs | |
parent | d06de26a4fd828b6a0a9da8718e3b0c829a4d162 (diff) |
fix OSX/PPC compilation
Diffstat (limited to 'libs')
-rw-r--r-- | libs/gtkmm2ext/nsglview.mm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/nsglview.mm b/libs/gtkmm2ext/nsglview.mm index 9f6ae629a1..90f86b7d13 100644 --- a/libs/gtkmm2ext/nsglview.mm +++ b/libs/gtkmm2ext/nsglview.mm @@ -19,6 +19,20 @@ */ +/* the API is currently only used on intel mac + * for big-endian RGBA <> RGBA byte order of the texture + * will have to be swapped. + * + * Also it does not currently compile as-is: + * + * warning: Mac OS X version 10.5 or later is needed for use of property + * error: synthesized property 'tag' must either be named the same as a compatible ivar or must explicitly name an ivar + * + * the wscipt would have to relax MAC_OS_X_VERSION_MIN_REQUIRED=1040 + * (ardour's PPC build-stack is 10.5) + */ +#ifndef __ppc__ + /* include order matter due to apple defines */ #include <gtkmm/window.h> @@ -294,3 +308,5 @@ Gtkmm2ext::nsglview_set_visible (void* glv, bool vis) [gl_view setHidden:YES]; } } + +#endif |