]> git.lyx.org Git - features.git/commitdiff
Move Windows-specific stuff into os_win32.h
authorYuriy Skalko <yuriy.skalko@gmail.com>
Sun, 25 Oct 2020 06:54:27 +0000 (08:54 +0200)
committerYuriy Skalko <yuriy.skalko@gmail.com>
Sun, 25 Oct 2020 17:59:03 +0000 (19:59 +0200)
src/frontends/qt/GuiBox.cpp
src/frontends/qt/GuiDocument.cpp
src/support/os_win32.h

index 298009da1b0c3691f39c5ed6d2d032ebea1fab5d..0d22aa79638ad8d6bde577207a8424b161598313 100644 (file)
 #include <QLineEdit>
 #include <QPushButton>
 
-#ifdef IN
-#undef IN
-#endif
-
 using namespace std;
 
 
index 7e1ec248b142d3a2f3aebaa01f165962df740494..0244bfdfe88236cf2539814085a8d8e79c715458 100644 (file)
 #include <sstream>
 #include <vector>
 
-#ifdef IN
-#undef IN
-#endif
-
 
 // a style sheet for buttons
 // this is for example used for the background color setting button
index 3f278c3bd0af919cb821608bf3689345341fbfce..a656f6f1822046fd27a848acf85387f445f4ed73 100644 (file)
@@ -49,6 +49,9 @@
 #include <tchar.h>
 #include <psapi.h>
 
+#ifdef IN
+#undef IN // used in Length::UNIT enum
+#endif
 
 namespace lyx {
 namespace support {