diff dwcompat.h @ 1975:b2cb0ef3ec3d

Win: Added partial or full dark mode support for containers, trees and toolbars. Fixed a warning due to a failure to include dirent.h for getcwd(). Tree and container now support foreground and background colors. Container header and stripe colors still need work. Toolbar widgets must not have a style set to function properly, so skip them.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 07 Aug 2019 00:25:15 +0000
parents 50c71474709b
children d83a86f5fe7f
line wrap: on
line diff
--- a/dwcompat.h	Tue Aug 06 22:52:23 2019 +0000
+++ b/dwcompat.h	Wed Aug 07 00:25:15 2019 +0000
@@ -174,6 +174,7 @@
 #define stat(a, b) _stat64(a, b)
 #define dwstat __stat64
 #endif
+#include <direct.h>
 #else
 #include <dir.h>
 #include <dirent.h>