diff options
| author | Pietro Gagliardi <[email protected]> | 2014-05-20 08:08:55 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-05-20 08:08:55 -0400 |
| commit | c6d24f0e32c8a03b9f0f31d077c6ffbff58ef74d (patch) | |
| tree | a8490f04f090bb0d91046655acbddc6d6ba95db3 /prefsize_darwin.m | |
| parent | 3e9e767d79c85726741faee7b025412a27a6f86c (diff) | |
Changed #include to #import on the Objective-C files to settle the whole include guards thing. Now to continue fixing Mac OS X 10.6 building...
Diffstat (limited to 'prefsize_darwin.m')
| -rw-r--r-- | prefsize_darwin.m | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/prefsize_darwin.m b/prefsize_darwin.m index 8c975af..34a0dcd 100644 --- a/prefsize_darwin.m +++ b/prefsize_darwin.m @@ -1,7 +1,7 @@ // 15 may 2014 #include "objc_darwin.h" -#include <AppKit/NSControl.h> +#import <AppKit/NSControl.h> // see delegateuitask_darwin.m // in this case, NSScrollView.h, NSTableView.h, AND NSProgressIndicator.h all include NSApplication.h @@ -10,15 +10,15 @@ #undef MAC_OS_X_VERSION_MAX_ALLOWED #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_7 #define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_7 -#include <AppKit/NSApplication.h> +#import <AppKit/NSApplication.h> #undef MAC_OS_X_VERSION_MIN_REQUIRED #undef MAC_OS_X_VERSION_MAX_ALLOWED #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_6 #define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_6 -#include <AppKit/NSScrollView.h> -#include <AppKit/NSTableView.h> -#include <AppKit/NSProgressIndicator.h> +#import <AppKit/NSScrollView.h> +#import <AppKit/NSTableView.h> +#import <AppKit/NSProgressIndicator.h> #define to(T, x) ((T *) (x)) #define toNSControl(x) to(NSControl, (x)) |
