Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java b/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java
index dade707297..c2cd6721e0 100644
--- a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java
+++ b/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java
@@ -35,6 +35,13 @@ public class WinDiscoveredPathInfo implements IDiscoveredPathInfo {
symbols.put("__unaligned", "");
symbols.put("__uptr", "");
symbols.put("__w64", "");
+
+ // Redefine some things so that the CDT parser can handle them, until there is a VC specific parser
+ symbols.put("__forceinline", "__inline");
+ symbols.put("__int8", "char");
+ symbols.put("__int16", "short");
+ symbols.put("__int32", "int");
+ symbols.put("__int64", "long long");
}
public IPath[] getIncludePaths() {

Back to the top