summaryrefslogtreecommitdiff
path: root/ide/Xcode3/fltk.pch
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2010-12-23 14:24:29 +0000
committerManolo Gouy <Manolo>2010-12-23 14:24:29 +0000
commita8530c73fa2e7a53f0fcef9f391ce3ea6cbd6c4a (patch)
treede578f7f2d2ec57d97878c5301b870b5595c0660 /ide/Xcode3/fltk.pch
parent122c0e6859149a6a015608fe9d7b7e3d81c3a026 (diff)
Adopted use of FL_LIBRARY #define symbol under Mac OS X. This allows to compile
client applications without including Mac OS system headers, with a gain in speed of compilation and portability. The source files of all FLTK libraries must now be compiled with -DFL_LIBRARY under Mac OS X. Make, CMake and Xcode project support files have been modified accordingly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'ide/Xcode3/fltk.pch')
-rw-r--r--ide/Xcode3/fltk.pch3
1 files changed, 3 insertions, 0 deletions
diff --git a/ide/Xcode3/fltk.pch b/ide/Xcode3/fltk.pch
index b02c91181..83be8d454 100644
--- a/ide/Xcode3/fltk.pch
+++ b/ide/Xcode3/fltk.pch
@@ -6,3 +6,6 @@
#import <Cocoa/Cocoa.h>
#endif
+#ifdef FL_LIBRARY
+#include <Carbon/Carbon.h>
+#endif