From b1520373aebb3f16e1aad19d253c1ec12439664c Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 4 Jan 2016 23:09:32 +0000 Subject: Created pseudo code for all FL_PORTED section so that FLTK compiles and links (Xcode, hello, other C flags: -D FL_PORTING -U __APPLE__ -U __APPLE_QUARTZ__) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@10993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- ide/Xcode4/FLTK.xcodeproj/project.pbxproj | 2 ++ ide/Xcode4/config.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'ide/Xcode4') diff --git a/ide/Xcode4/FLTK.xcodeproj/project.pbxproj b/ide/Xcode4/FLTK.xcodeproj/project.pbxproj index 3e3f1f813..ceabcd975 100644 --- a/ide/Xcode4/FLTK.xcodeproj/project.pbxproj +++ b/ide/Xcode4/FLTK.xcodeproj/project.pbxproj @@ -13701,6 +13701,7 @@ GCC_WARN_UNUSED_VARIABLE = YES; MACOSX_DEPLOYMENT_TARGET = 10.6; "MACOSX_DEPLOYMENT_TARGET[arch=i386]" = 10.4; + OTHER_CFLAGS = ""; SDKROOT = ""; }; name = Release; @@ -14886,6 +14887,7 @@ GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNUSED_VARIABLE = YES; ONLY_ACTIVE_ARCH = YES; + OTHER_CFLAGS = ""; SDKROOT = ""; }; name = Debug; diff --git a/ide/Xcode4/config.h b/ide/Xcode4/config.h index da55383cf..ed1b8fbbc 100644 --- a/ide/Xcode4/config.h +++ b/ide/Xcode4/config.h @@ -16,7 +16,9 @@ #define USE_XFT 0 #define HAVE_XDBE 0 #define USE_XDBE HAVE_XDBE +#ifdef __APPLE__ #define __APPLE_QUARTZ__ 1 +#endif #define HAVE_OVERLAY 0 #define HAVE_GL_OVERLAY HAVE_OVERLAY #if defined(__BIG_ENDIAN__) -- cgit v1.2.3