mirror of
https://github.com/fltk/fltk.git
synced 2025-12-11 05:31:07 +08:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user