[MacPorts] #35148: gegl 0.2.0_0 Syntax error before 'AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER'
MacPorts
noreply at macports.org
Sat Aug 4 21:45:01 PDT 2012
#35148: gegl 0.2.0_0 Syntax error before
'AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER'
-----------------------------+----------------------------------------------
Reporter: jovo@… | Owner: snc@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: tiger leopard | Port: gegl
-----------------------------+----------------------------------------------
Comment(by rambiusparkisanius@…):
Replying to [comment:17 jeremyhu@…]:
> I'm guessing the AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER may be around
the share group code, so you can probably do this:
>
> {{{
> #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
> #include <OpenGL/CGLDevice.h>
> #else
> #include <OpenGL/CGLTypes.h>
> #endif
> }}}
I confirm this works. I just built gegl with it.
--
Ticket URL: <https://trac.macports.org/ticket/35148#comment:18>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list