From: Yuriy Skalko Date: Sun, 25 Oct 2020 06:54:27 +0000 (+0200) Subject: Move Windows-specific stuff into os_win32.h X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=f1926251c0a9c8cd0b36feba3deb7fbd692d1a7a;p=features.git Move Windows-specific stuff into os_win32.h --- diff --git a/src/frontends/qt/GuiBox.cpp b/src/frontends/qt/GuiBox.cpp index 298009da1b..0d22aa7963 100644 --- a/src/frontends/qt/GuiBox.cpp +++ b/src/frontends/qt/GuiBox.cpp @@ -32,10 +32,6 @@ #include #include -#ifdef IN -#undef IN -#endif - using namespace std; diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp index 7e1ec248b1..0244bfdfe8 100644 --- a/src/frontends/qt/GuiDocument.cpp +++ b/src/frontends/qt/GuiDocument.cpp @@ -85,10 +85,6 @@ #include #include -#ifdef IN -#undef IN -#endif - // a style sheet for buttons // this is for example used for the background color setting button diff --git a/src/support/os_win32.h b/src/support/os_win32.h index 3f278c3bd0..a656f6f182 100644 --- a/src/support/os_win32.h +++ b/src/support/os_win32.h @@ -49,6 +49,9 @@ #include #include +#ifdef IN +#undef IN // used in Length::UNIT enum +#endif namespace lyx { namespace support {