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.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher
2011-01-04 16:06:52 +00:00
parent 21f1c67b60
commit 023fc6384c

View File

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