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;