Author: matt
Date: 2012-08-16 14:48:25 -0700 (Thu, 16 Aug 2012)
New Revision: 9670
Log:
STR 2858: include statements were wrong

Modified:
   branches/branch-1.3/src/fl_utf8.cxx

Modified: branches/branch-1.3/src/fl_utf8.cxx
===================================================================
--- branches/branch-1.3/src/fl_utf8.cxx 2012-08-16 21:41:30 UTC (rev 9669)
+++ branches/branch-1.3/src/fl_utf8.cxx 2012-08-16 21:48:25 UTC (rev 9670)
@@ -21,22 +21,25 @@
 #include <FL/filename.H>
 #include <stdarg.h>
 
-#if defined(WIN32) && !defined(__CYGWIN__)
+#if defined(WIN32) || defined(__CYGWIN__)
 # include <ctype.h>
 # include <io.h>
 # include <windows.h>
 # include <winbase.h>
 # include <process.h>
-#ifdef __CYGWIN__
-#include  <wchar.h>
-#else
-#include  <direct.h>
-#endif
+# ifdef __CYGWIN__
+#  include  <wchar.h>
+#  include <sys/types.h>
+#  include <sys/stat.h>
+#  include <fcntl.h>
+#  include <unistd.h>
+# else
+#  include  <direct.h>
+# endif
 extern "C" {
   int XUtf8Tolower(int ucs);
   unsigned short XUtf8IsNonSpacing(unsigned int ucs);
 };
-
 #elif defined(__APPLE__)
 # include <stdio.h>
 # include <time.h>

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to