Message147306
| Author |
ronaldoussoren |
| Recipients |
ned.deily, ronaldoussoren |
| Date |
2011年11月08日.14:59:37 |
| SpamBayes Score |
4.1644707e-05 |
| Marked as misclassified |
No |
| Message-id |
<1320764379.1.0.189360860234.issue13371@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
_Fm fails because the wrapped functionality is no longer present in the Headers (last seen in the QD.framework headers in the 10.6 SDK)
likewise for _Qdoffs and _Qd.
The attached patch changed the preprocessor guards around these bindings from
#ifndef __LP64__
To:
#if !defined(__LP64__) && !defined(MAC_OS_X_VERSION_10_7)
That is, disable the bindings for these deprecated APIs when building for 64-bit code or when building with the 10.7 SDK (or later).
There is a small risk with this patch: I'm not 100% sure that Apple will refrain from adding a definition for MAC_OS_X_VERSION_10_7 in a later release of the 10.6 SDK. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年11月08日 14:59:39 | ronaldoussoren | set | recipients:
+ ronaldoussoren, ned.deily |
| 2011年11月08日 14:59:39 | ronaldoussoren | set | messageid: <1320764379.1.0.189360860234.issue13371@psf.upfronthosting.co.za> |
| 2011年11月08日 14:59:38 | ronaldoussoren | link | issue13371 messages |
| 2011年11月08日 14:59:38 | ronaldoussoren | create |
|