summaryrefslogtreecommitdiff
path: root/sysdata_darwin.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-20 08:08:55 -0400
committerPietro Gagliardi <[email protected]>2014-05-20 08:08:55 -0400
commitc6d24f0e32c8a03b9f0f31d077c6ffbff58ef74d (patch)
treea8490f04f090bb0d91046655acbddc6d6ba95db3 /sysdata_darwin.m
parent3e9e767d79c85726741faee7b025412a27a6f86c (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 'sysdata_darwin.m')
-rw-r--r--sysdata_darwin.m31
1 files changed, 15 insertions, 16 deletions
diff --git a/sysdata_darwin.m b/sysdata_darwin.m
index ded1d3c..46c19e0 100644
--- a/sysdata_darwin.m
+++ b/sysdata_darwin.m
@@ -1,35 +1,34 @@
// 12 may 2014
#include "objc_darwin.h"
-#include <Foundation/NSGeometry.h>
+#import <Foundation/NSGeometry.h>
// see delegateuitask_darwin.m
// in this case, lots of headers include NSApplication.h
-// NOTE uncomment the ones below when resolved because yay inconsistent include guard madness
-#include <AppKit/NSView.h>
-#include <AppKit/NSControl.h>
+#import <AppKit/NSView.h>
+#import <AppKit/NSControl.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_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/NSWindow.h>
-#include <AppKit/NSView.h>
-#include <AppKit/NSFont.h>
-//#include <AppKit/NSControl.h>
-#include <AppKit/NSButton.h>
-#include <AppKit/NSPopUpButton.h>
-#include <AppKit/NSComboBox.h>
-#include <AppKit/NSTextField.h>
-#include <AppKit/NSSecureTextField.h>
-#include <AppKit/NSProgressIndicator.h>
-#include <AppKit/NSScrollView.h>
+#import <AppKit/NSWindow.h>
+#import <AppKit/NSView.h>
+#import <AppKit/NSFont.h>
+#import <AppKit/NSControl.h>
+#import <AppKit/NSButton.h>
+#import <AppKit/NSPopUpButton.h>
+#import <AppKit/NSComboBox.h>
+#import <AppKit/NSTextField.h>
+#import <AppKit/NSSecureTextField.h>
+#import <AppKit/NSProgressIndicator.h>
+#import <AppKit/NSScrollView.h>
extern NSRect dummyRect;