diff --git a/src/plugins/cpptools/cppmodelmanager.cpp b/src/plugins/cpptools/cppmodelmanager.cpp
index aae798491e7e8b72d9c3c9a9ff75eb1ea1b79ac6..66c05057f8f1ce231b110491603556119defe9fe 100644
--- a/src/plugins/cpptools/cppmodelmanager.cpp
+++ b/src/plugins/cpptools/cppmodelmanager.cpp
@@ -168,7 +168,9 @@ static const char pp_configuration[] =
     "#define STDMETHOD(method) virtual HRESULT STDMETHODCALLTYPE method\n"
     "#define __try try\n"
     "#define __except catch\n"
-    "#define __finally\n";
+    "#define __finally\n"
+    "#define __inline inline\n"
+    "#define __forceinline inline\n";
 
 #ifndef ICHECK_BUILD
 CppPreprocessor::CppPreprocessor(QPointer<CppModelManager> modelManager)