merge commit
authortimkelly
Mon, 14 Dec 2009 10:24:12 -0600
changeset 680 4224161eb5db
parent 679 9e29549b331d
child 681 0ca8a6b568b1
merge commit
builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideLanguageData.java
--- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideLanguageData.java	Mon Dec 14 10:22:37 2009 -0600
+++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideLanguageData.java	Mon Dec 14 10:24:12 2009 -0600
@@ -228,7 +228,13 @@
 		if (oemDir.exists()) {
 			includeEntries.add(new CIncludePathEntry(new Path(oemDir.getAbsolutePath()), 0));
 		}
-
+		
+		// add the compiler include
+		IPath compilerPrefixPath = carbideBuildConfig.getCompilerPrefixFile();
+		if (compilerPrefixPath != null){
+			includeEntries.add(new CIncludePathEntry(new Path(compilerPrefixPath.removeLastSegments(1).toOSString()), 0));
+		}
+		
 		// cache the macros
 		macroEntries = new ArrayList<ICLanguageSettingEntry>(0);