Author: matt
Date: 2011-01-04 08:10:56 -0800 (Tue, 04 Jan 2011)
New Revision: 8181
Log:
STR 2506: after reading Greg's comment, I modified my last commit to use 'dir'
on all MSWindows builds
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 16:06:52 UTC (rev
8180)
+++ branches/branch-1.3/examples/table-sort.cxx 2011-01-04 16:10:56 UTC (rev
8181)
@@ -45,17 +45,19 @@
#define MARGIN 20
-#ifdef _MSC_VER
+#ifdef WIN32
// WINDOWS
#define DIRCMD "dir"
#define DIRHEADER { "Date", "Time", "Size", "Filename", "", "", "", "",
"" }
+#ifdef _MSC_VER
#define popen _popen
-#else /*_MSC_VER*/
+#endif
+#else /*WIN32*/
// UNIX
#include <ctype.h>
#define DIRCMD "ls -l"
#define DIRHEADER { "Perms", "#L", "Own", "Group", "Size", "Date", "",
"", "Filename" }
-#endif /*_MSC_VER*/
+#endif /*WIN32*/
// A single row of columns
class Row {
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit