MAC_OS_X_VERSION_10_6 not defined on pre-10.6

Just use a literal 1060 in header files which do not (and should not)
include MacVim.h.
This commit is contained in:
Bjorn Winckler
2009-09-02 21:21:12 +02:00
parent 6f553b7ad5
commit fd2804b9df
4 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
@interface DBPrefsWindowController : NSWindowController
#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6)
#if (MAC_OS_X_VERSION_MAX_ALLOWED >= 1060)
// 10.6 has turned delegate messages into formal protocols
<NSAnimationDelegate, NSToolbarDelegate>
#endif
-1
View File
@@ -8,7 +8,6 @@
* See README.txt for an overview of the Vim source code.
*/
#import <Cocoa/Cocoa.h>
#import "MacVim.h"
#ifdef MM_ENABLE_PLUGINS
+1 -1
View File
@@ -8,7 +8,7 @@
* See README.txt for an overview of the Vim source code.
*/
#import <Cocoa/Cocoa.h>
#import "MacVim.h"
@@ -40,7 +40,7 @@ enum {
};
@interface PSMTabBarControl : NSControl
#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6)
#if (MAC_OS_X_VERSION_MAX_ALLOWED >= 1060)
// 10.6 has turned delegate messages into formal protocols
<NSTabViewDelegate>
#endif