1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00

Fix compile error against Eclipse 3.6

This commit is contained in:
Anton Leherbauer 2010-11-04 15:15:12 +00:00
parent 3ef0d867cc
commit fdfbe1e62c

View file

@ -436,7 +436,7 @@ public class CdtMacroSupplier extends CoreMacroSupplierBase {
macro = new CdtVariable(macroName,ICdtVariable.VALUE_TEXT,version);
}
else if("CDTVersion".equals(macroName)){ //$NON-NLS-1$
String version = CCorePlugin.getDefault().getBundle().getHeaders().get(org.osgi.framework.Constants.BUNDLE_VERSION);
String version = (String) CCorePlugin.getDefault().getBundle().getHeaders().get(org.osgi.framework.Constants.BUNDLE_VERSION);
macro = new CdtVariable(macroName,ICdtVariable.VALUE_TEXT,version);
}
/* else if("MBSVersion".equals(macroName)){ //$NON-NLS-1$