Bug #7415 2006-05-07 18:35
afb
Using pre-comp headers on Mac OS X 10.3
Apple's version of GCC 3.3 does support pre-compiled headers, so the workarounds in sdk_common.h should be disabled for that "brand".
- Category
- Group
- Status
- Closed
- Close date
- 2006-05-09 11:44
- Assigned to
History
afb 2006-05-07 18:37
Index: src/sdk/sdk_common.h
===================================================================
--- src/sdk/sdk_common.h (revision 2417)
+++ src/sdk/sdk_common.h (arbetskopia)
@@ -12,7 +12,7 @@
* This also allows us to reliably shortcut some includes for compilers that *do* support precompilation.
*/
#ifdef __GNUC__
- #if ( (__GNUC__ < 3) || ( (__GNUC__ == 3) && (__GNUC_MINOR__ < 4) ) )
+ #if ( (__GNUC__ < 3) || ( (__GNUC__ == 3) && (__GNUC_MINOR__ < 4) && !defined(__APPLE__) ) )
#undef CB_PRECOMP
#endif
#endif
mandrav 2006-05-09 11:44
Patch applied.
Next time, please use the patch tracker for patches.