aboutsummaryrefslogtreecommitdiff
path: root/butl/pager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'butl/pager.cxx')
-rw-r--r--butl/pager.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/butl/pager.cxx b/butl/pager.cxx
index 9999bb0..0f29bb4 100644
--- a/butl/pager.cxx
+++ b/butl/pager.cxx
@@ -11,11 +11,8 @@
# include <chrono>
# include <thread> // this_thread::sleep_for()
#else
-# ifndef WIN32_LEAN_AND_MEAN
-# define WIN32_LEAN_AND_MEAN
-# endif
-# include <windows.h> // GetConsoleScreenBufferInfo(), GetStdHandle(),
- // Sleep()
+# include <butl/win32-utility>
+
# include <io.h> // _close()
#endif