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
This commit is contained in:
Manolo Gouy
2010-12-23 14:24:29 +00:00
parent 122c0e6859
commit a8530c73fa
10 changed files with 70 additions and 71 deletions
+2
View File
@@ -136,6 +136,8 @@ const char *default_menu[] = {
# define chdir _chdir
# define putenv _putenv
# endif // !__WATCOMC__
#elif defined USING_XCODE
#include <Carbon/Carbon.h>
#else
# include <unistd.h>
#endif