diff options
Diffstat (limited to 'examples/table-sort.cxx')
| -rw-r--r-- | examples/table-sort.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/table-sort.cxx b/examples/table-sort.cxx index 2cbee1f51..dba178e8f 100644 --- a/examples/table-sort.cxx +++ b/examples/table-sort.cxx @@ -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 |
