mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Fix compile error against Eclipse 3.6
This commit is contained in:
parent
3ef0d867cc
commit
fdfbe1e62c
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ public class CdtMacroSupplier extends CoreMacroSupplierBase {
|
||||||
macro = new CdtVariable(macroName,ICdtVariable.VALUE_TEXT,version);
|
macro = new CdtVariable(macroName,ICdtVariable.VALUE_TEXT,version);
|
||||||
}
|
}
|
||||||
else if("CDTVersion".equals(macroName)){ //$NON-NLS-1$
|
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);
|
macro = new CdtVariable(macroName,ICdtVariable.VALUE_TEXT,version);
|
||||||
}
|
}
|
||||||
/* else if("MBSVersion".equals(macroName)){ //$NON-NLS-1$
|
/* else if("MBSVersion".equals(macroName)){ //$NON-NLS-1$
|
||||||
|
|
Loading…
Add table
Reference in a new issue