mirror of
https://github.com/fltk/fltk.git
synced 2025-12-11 05:31:07 +08:00
Replace "WIN32" with "_WIN32" or "Windows".
Replace compiler/preprocessor/platform macro "WIN32" with "_WIN32". Replace "WIN32" in text and documentation with "Windows". Replace "MSWindows" with "Windows". To do: README.Windows.txt (and maybe other documentation as well) needs updates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -37,18 +37,18 @@
|
||||
|
||||
#define MARGIN 20
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
// WINDOWS
|
||||
# define DIRCMD "dir"
|
||||
static const char *G_header[] = { "Date", "Time", "Size", "Filename", "", "", "", "", "", 0 };
|
||||
# ifdef _MSC_VER
|
||||
# define popen _popen
|
||||
# endif
|
||||
#else /*WIN32*/
|
||||
#else /* _WIN32 */
|
||||
// UNIX
|
||||
# define DIRCMD "ls -l"
|
||||
static const char *G_header[] = { "Perms", "#L", "Own", "Group", "Size", "Date", "", "", "Filename", 0 };
|
||||
#endif /*WIN32*/
|
||||
#endif /* _WIN32 */
|
||||
|
||||
// Font face/sizes for header and rows
|
||||
#define HEADER_FONTFACE FL_HELVETICA_BOLD
|
||||
|
||||
Reference in New Issue
Block a user