From 12dc3b7541ba5bbe4ccb15679d2dcd4012ba589e Mon Sep 17 00:00:00 2001
From: Michael Klein <michael.klein@puffin.lb.shuttle.de>
Date: Sun, 23 Oct 2011 22:14:44 +0200
Subject: [PATCH] compile fixes for Xcode 3.1.3
---
src/AppKiDo.xcodeproj/project.pbxproj | 12 +++++++++---
src/AppKiDo_Prefix.pch | 5 +++++
2 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/src/AppKiDo.xcodeproj/project.pbxproj b/src/AppKiDo.xcodeproj/project.pbxproj
index 47f0905..5b6235d 100644
a
|
b
|
|
2415 | 2415 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; |
2416 | 2416 | GCC_GENERATE_DEBUGGING_SYMBOLS = YES; |
2417 | 2417 | GCC_OPTIMIZATION_LEVEL = 0; |
| 2418 | GCC_PRECOMPILE_PREFIX_HEADER = YES; |
| 2419 | GCC_PREFIX_HEADER = AppKiDo_Prefix.pch; |
2418 | 2420 | GCC_TREAT_WARNINGS_AS_ERRORS = NO; |
2419 | 2421 | GCC_VERSION = 4.0; |
2420 | 2422 | GCC_WARN_ABOUT_MISSING_NEWLINE = YES; |
… |
… |
|
2434 | 2436 | GCC_WARN_UNUSED_VALUE = YES; |
2435 | 2437 | GCC_WARN_UNUSED_VARIABLE = YES; |
2436 | 2438 | LINKER_DISPLAYS_FILES_FOR_UNDEFINED_SYMBOLS = YES; |
2437 | | MACOSX_DEPLOYMENT_TARGET = 10.3; |
| 2439 | MACOSX_DEPLOYMENT_TARGET = 10.4; |
2438 | 2440 | PREBINDING = NO; |
2439 | 2441 | WARNING_CFLAGS = ( |
2440 | 2442 | "-Wmost", |
… |
… |
|
2459 | 2461 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; |
2460 | 2462 | GCC_GENERATE_DEBUGGING_SYMBOLS = YES; |
2461 | 2463 | GCC_OPTIMIZATION_LEVEL = 2; |
| 2464 | GCC_PRECOMPILE_PREFIX_HEADER = YES; |
| 2465 | GCC_PREFIX_HEADER = AppKiDo_Prefix.pch; |
2462 | 2466 | GCC_TREAT_WARNINGS_AS_ERRORS = NO; |
2463 | 2467 | GCC_VERSION = 4.0; |
2464 | 2468 | GCC_WARN_64_TO_32_BIT_CONVERSION = NO; |
… |
… |
|
2503 | 2507 | 73DA1ED3089AEA560016F230 /* Default */ = { |
2504 | 2508 | isa = XCBuildConfiguration; |
2505 | 2509 | buildSettings = { |
2506 | | MACOSX_DEPLOYMENT_TARGET = 10.3; |
2507 | | SDKROOT = /Developer/SDKs/MacOSX10.3.9.sdk; |
| 2510 | GCC_PRECOMPILE_PREFIX_HEADER = YES; |
| 2511 | GCC_PREFIX_HEADER = AppKiDo_Prefix.pch; |
| 2512 | MACOSX_DEPLOYMENT_TARGET = 10.4; |
| 2513 | SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; |
2508 | 2514 | }; |
2509 | 2515 | name = Default; |
2510 | 2516 | }; |
diff --git a/src/AppKiDo_Prefix.pch b/src/AppKiDo_Prefix.pch
index 95d45b5..ed82067 100644
a
|
b
|
|
5 | 5 | #ifdef __OBJC__ |
6 | 6 | #import <Cocoa/Cocoa.h> |
7 | 7 | |
| 8 | #if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_5 |
| 9 | @protocol NSToolbarDelegate <NSObject> @end |
| 10 | @protocol NSTextViewDelegate <NSObject> @end |
| 11 | #endif |
| 12 | |
8 | 13 | #import "DIGSLog.h" |
9 | 14 | #import <DIGSFileProcessor.h> |
10 | 15 | #import <DIGSFindBuffer.h> |