Skip to content

Commit

Permalink
add defines for old AppKit
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh:https://svn.savannah.nongnu.org/gap/trunk@3433 d25b4930-3292-e311-b074-0010c6de5da8
  • Loading branch information
rmottola committed Apr 15, 2017
1 parent 4610476 commit 38f02d2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions user-apps/Graphos/GRDrawableObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
#import <Foundation/Foundation.h>
#import <AppKit/NSColor.h>

#ifndef MAC_OS_X_VERSION_10_4
#define MAC_OS_X_VERSION_10_4 1040
#endif

#if !defined (GNUSTEP) && (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4) && !defined(CGFloat)
#define NSUInteger unsigned
#define NSInteger int
Expand Down
4 changes: 4 additions & 0 deletions user-apps/Graphos/GRObjectControlPoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@

#import <Foundation/Foundation.h>

#ifndef MAC_OS_X_VERSION_10_4
#define MAC_OS_X_VERSION_10_4 1040
#endif

#if !defined (GNUSTEP) && (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4) && !defined(CGFloat)
#define NSUInteger unsigned
#define NSInteger int
Expand Down
4 changes: 4 additions & 0 deletions user-apps/Graphos/GRPropsEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>

#ifndef MAC_OS_X_VERSION_10_4
#define MAC_OS_X_VERSION_10_4 1040
#endif

#if !defined (GNUSTEP) && (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4) && !defined(CGFloat)
#define NSInteger int
#define NSUInteger unsigned
Expand Down
2 changes: 1 addition & 1 deletion user-apps/Graphos/Graphos.pbproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.1</string>
<string>0.6</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
Expand Down

0 comments on commit 38f02d2

Please sign in to comment.