diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-06-21 17:52:38 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-06-22 04:10:39 +0200 |
commit | 1d626c2785117f9c9bf6683d98f57e825a9e7938 (patch) | |
tree | 654cafa4764b1360bdda7dff53aee06933dad173 /src/ioview.cpp | |
parent | ac87230767db4779a10acf0eaba6493327a3c257 (diff) | |
download | sciteco-1d626c2785117f9c9bf6683d98f57e825a9e7938.tar.gz |
use WIN32_LEAN_AND_MEAN macro when including windows.h
this avoids some problematic includes, so we no longer have
to #undef interface.
Also it should speed up building a bit.
Diffstat (limited to 'src/ioview.cpp')
-rw-r--r-- | src/ioview.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
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 { |