STR 2506: after reading Greg's comment, I modified my last commit to use 'dir' on all MSWindows builds

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8181 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2011-01-04 16:10:56 +00:00
parent 023fc6384c
commit bcff5beb33

View File

@ -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 {