diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/interface-curses.cpp | 7 | ||||
-rw-r--r-- | src/ioview.cpp | 7 |
2 files changed, 2 insertions, 12 deletions
diff --git a/src/interface-curses.cpp b/src/interface-curses.cpp index aabadc4..b6a2a6f 100644 --- a/src/interface-curses.cpp +++ b/src/interface-curses.cpp @@ -59,13 +59,8 @@ #ifdef HAVE_WINDOWS_H /* here it shouldn't cause conflicts with other headers */ +#define WIN32_LEAN_AND_MEAN #include <windows.h> - -/* - * MinGW headers define an `interface` macro to work around - * Objective C issues - */ -#undef interface #endif /** diff --git a/src/ioview.cpp b/src/ioview.cpp index 713b3fb..5f50580 100644 --- a/src/ioview.cpp +++ b/src/ioview.cpp @@ -41,13 +41,8 @@ #ifdef HAVE_WINDOWS_H /* here it shouldn't cause conflicts with other headers */ +#define WIN32_LEAN_AND_MEAN #include <windows.h> - -/* - * MinGW headers define an `interface` macro to work around - * Objective C issues - */ -#undef interface #endif namespace SciTECO { |