Author: greg.ercolano
Date: 2011-02-05 09:09:21 -0800 (Sat, 05 Feb 2011)
New Revision: 8376
Log:
Prevent loading of unistd.h on WIN32 platforms.
Modified:
branches/branch-1.3/FL/Fl_Native_File_Chooser_FLTK.H
Modified: branches/branch-1.3/FL/Fl_Native_File_Chooser_FLTK.H
===================================================================
--- branches/branch-1.3/FL/Fl_Native_File_Chooser_FLTK.H 2011-02-05
16:55:04 UTC (rev 8375)
+++ branches/branch-1.3/FL/Fl_Native_File_Chooser_FLTK.H 2011-02-05
17:09:21 UTC (rev 8376)
@@ -30,7 +30,9 @@
Fl_Native_File_Chooser widget. */
#include <FL/Fl_File_Chooser.H>
+#ifndef WIN32
#include <unistd.h> // _POSIX_NAME_MAX
+#endif /*WIN32*/
/**
This class lets an FLTK application easily and consistently access
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit