|
|
@@ -18,7 +18,7 @@
|
|
|
#include <strings.h>
|
|
|
#include <Foundation/Foundation.h>
|
|
|
|
|
|
-#ifndef BUILD_IPHONE
|
|
|
+#ifndef IS_IOS
|
|
|
#include <AppKit/AppKit.h>
|
|
|
#endif
|
|
|
|
|
|
@@ -46,7 +46,7 @@ call_NSSearchPathForDirectories(NSSearchPathDirectory dirkey, NSSearchPathDomain
|
|
|
// Ensure that Carbon has been initialized, and that we have an auto-release
|
|
|
// pool. Unfortunately, this very important function doesn't exist on the
|
|
|
// IPhone.
|
|
|
-#ifndef BUILD_IPHONE
|
|
|
+#ifndef IS_IOS
|
|
|
NSApplicationLoad();
|
|
|
#endif
|
|
|
|
|
|
@@ -67,7 +67,7 @@ call_NSSearchPathForDirectories(NSSearchPathDirectory dirkey, NSSearchPathDomain
|
|
|
*/
|
|
|
string
|
|
|
get_osx_home_directory() {
|
|
|
-#ifndef BUILD_IPHONE
|
|
|
+#ifndef IS_IOS
|
|
|
NSApplicationLoad();
|
|
|
#endif
|
|
|
|
|
|
@@ -85,7 +85,7 @@ get_osx_home_directory() {
|
|
|
*/
|
|
|
string
|
|
|
get_osx_temp_directory() {
|
|
|
-#ifndef BUILD_IPHONE
|
|
|
+#ifndef IS_IOS
|
|
|
NSApplicationLoad();
|
|
|
#endif
|
|
|
|