Author: matt
Date: 2011-01-04 08:06:52 -0800 (Tue, 04 Jan 2011)
New Revision: 8180
Log:
STR 2506: changed dependency on _WIN32 (deprecated) to _MSC_VER, assuming that
Cygwin and MinGW apps on MSWindows will run in a Unix style shell.
Modified:
branches/branch-1.3/examples/table-sort.cxx
Modified: branches/branch-1.3/examples/table-sort.cxx
===================================================================
--- branches/branch-1.3/examples/table-sort.cxx 2011-01-04 15:15:48 UTC (rev
8179)
+++ branches/branch-1.3/examples/table-sort.cxx 2011-01-04 16:06:52 UTC (rev
8180)
@@ -45,17 +45,17 @@
#define MARGIN 20
-#ifdef _WIN32
+#ifdef _MSC_VER
// WINDOWS
#define DIRCMD "dir"
#define DIRHEADER { "Date", "Time", "Size", "Filename", "", "", "", "",
"" }
#define popen _popen
-#else /*_WIN32*/
+#else /*_MSC_VER*/
// UNIX
#include <ctype.h>
#define DIRCMD "ls -l"
#define DIRHEADER { "Perms", "#L", "Own", "Group", "Size", "Date", "",
"", "Filename" }
-#endif /*_WIN32*/
+#endif /*_MSC_VER*/
// A single row of columns
class Row {
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit