diff options
author | Tor Arne Vestbø <torarnv@gmail.com> | 2013-02-16 17:16:53 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-18 00:32:31 +0100 |
commit | 4e78ce288aa67caddea65cd070663e95dc4f7183 (patch) | |
tree | c4663285e6be4f159b5daf22f904498c90f1488b /src/opengl/qglframebufferobject.h | |
parent | 193e3ba32e0c808b48216d9d96aa88e591dd189f (diff) |
Start using Availability.h over AvailabilityMacros.h on Mac OS
The former was introduced with Mac OS 10.6 and can also be used
for checking iOS versions, so it's preferable. We still include
the old availability header, and use it in various places in Qt,
and so does the Mac OS frameworks, so there's no need to phase
it out, but for new platform checks we want to use the updated
macros of the form:
#if __MAC_OS_X_VERSION_MAX_ALLOWED > __MAC_10_7
Ideally you should not use the named version macro, and use 1070
instead, in case you build against an SDK that does not define
the named version yet, but we take care of defining these
in qsystemdetection.h for convenience.
Change-Id: I9cfa72e37816583f28ff9643793f111e155b7789
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/opengl/qglframebufferobject.h')
0 files changed, 0 insertions, 0 deletions