From dd9fecb89f3374953e14a72539c0f4bf7442467f Mon Sep 17 00:00:00 2001 From: Valentina Zhuravska Date: Thu, 22 Oct 2015 15:16:15 +0300 Subject: [PATCH] Added Q_CC_MSVC --HG-- branch : feature --- src/libs/ifc/ifcdef.h | 1 - src/libs/vdxf/dxfdef.h | 5 ++++- src/libs/vlayout/vlayoutdef.h | 4 +++- src/libs/vmisc/def.h | 5 ++++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/libs/ifc/ifcdef.h b/src/libs/ifc/ifcdef.h index 9f72d92da..4dceb4b48 100644 --- a/src/libs/ifc/ifcdef.h +++ b/src/libs/ifc/ifcdef.h @@ -31,7 +31,6 @@ #include #include "../vmisc/def.h" -#include //for msvc extern const QString CustomMSign; extern const QString CustomIncrSign; diff --git a/src/libs/vdxf/dxfdef.h b/src/libs/vdxf/dxfdef.h index 6e5da7729..234db98d8 100644 --- a/src/libs/vdxf/dxfdef.h +++ b/src/libs/vdxf/dxfdef.h @@ -30,7 +30,10 @@ #define DXFDEF_H #include -#include //for msvc + +#ifdef Q_CC_MSVC + #include +#endif /* Q_CC_MSVC */ enum class VarMeasurement : unsigned char { English=0, Metric=1 }; diff --git a/src/libs/vlayout/vlayoutdef.h b/src/libs/vlayout/vlayoutdef.h index a5e86c87d..19fbcc297 100644 --- a/src/libs/vlayout/vlayoutdef.h +++ b/src/libs/vlayout/vlayoutdef.h @@ -29,7 +29,9 @@ #ifndef VLAYOUTDEF_H #define VLAYOUTDEF_H -#include //for msvc +#ifdef Q_CC_MSVC + #include +#endif /* Q_CC_MSVC */ enum class EquidistantType : char { OpenEquidistant, CloseEquidistant }; diff --git a/src/libs/vmisc/def.h b/src/libs/vmisc/def.h index 14bc77b8f..585a0fea7 100644 --- a/src/libs/vmisc/def.h +++ b/src/libs/vmisc/def.h @@ -37,7 +37,10 @@ #endif /* Q_OS_WIN */ #include "debugbreak.h" -#include //for msvc + +#ifdef Q_CC_MSVC + #include +#endif /* Q_CC_MSVC */ class QComboBox;