From 82be53f64d34500f1c4fcf8b14f9ca8ab275458e Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 29 Mar 2010 11:07:29 +0000 Subject: OS X: more references to non-Cocoa builds removed git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7354 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Native_File_Chooser_MAC.H | 4 ---- FL/filename.H | 11 ----------- FL/mac.H | 2 -- FL/math.h | 6 +----- 4 files changed, 1 insertion(+), 22 deletions(-) (limited to 'FL') diff --git a/FL/Fl_Native_File_Chooser_MAC.H b/FL/Fl_Native_File_Chooser_MAC.H index 8697281b7..5336747f3 100644 --- a/FL/Fl_Native_File_Chooser_MAC.H +++ b/FL/Fl_Native_File_Chooser_MAC.H @@ -29,11 +29,7 @@ #ifndef FL_DOXYGEN // PREVENT DOXYGEN'S USE OF THIS FILE // OSX-SPECIFIC NATIVE BROWSER -#ifdef __APPLE_CC__ #include -#else /*__APPLE_CC__*/ -#include -#endif /*__APPLE_CC__*/ #include #undef check // necessary for use of Fl::check() diff --git a/FL/filename.H b/FL/filename.H index ec55ce228..06041155a 100644 --- a/FL/filename.H +++ b/FL/filename.H @@ -74,17 +74,6 @@ inline int fl_filename_relative(char *to, const char *from) { return fl_filename struct dirent {char d_name[1];}; -# elif defined(__APPLE__) && defined(__PROJECTBUILDER__) - -/* Apple's ProjectBuilder has the nasty habit of including recursively - * down the file tree. To avoid re-including we must - * directly include the systems math file. (Plus, I could not find a - * predefined macro for ProjectBuilder builds, so we have to define it - * in the project) - */ -# include -# include "/usr/include/dirent.h" - # elif defined(__WATCOMC__) # include # include diff --git a/FL/mac.H b/FL/mac.H index eda99be37..81d5a1011 100644 --- a/FL/mac.H +++ b/FL/mac.H @@ -38,7 +38,6 @@ #include #include -#ifdef __APPLE_COCOA__ #ifndef MAC_OS_X_VERSION_10_3 #define MAC_OS_X_VERSION_10_3 1030 #endif @@ -54,7 +53,6 @@ #ifndef MAC_OS_X_VERSION_MAX_ALLOWED #define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_3 #endif -#endif // __APPLE_COCOA__ #ifndef CGFLOAT_DEFINED //appears with 10.5 in CGBase.h #if defined(__LP64__) && __LP64__ diff --git a/FL/math.h b/FL/math.h index 4f88ac452..f453c0a56 100644 --- a/FL/math.h +++ b/FL/math.h @@ -33,11 +33,7 @@ // directly include the systems math file. (Plus, I could not find a // predefined macro for ProjectBuilder builds, so we have to define it // in the project) -# if defined(__APPLE__) && defined(__PROJECTBUILDER__) -# include "/usr/include/math.h" -# else -# include -# endif +# include # ifdef __EMX__ # include -- cgit v1.2.3