fix __PRODUCT_INCLUDE__ macro if it has value, during preprocessing.
--- a/builder/com.nokia.carbide.cpp.builder.utils/src/com/nokia/carbide/cpp/internal/builder/utils/handlers/PreprocessHandler.java Thu Sep 09 13:25:52 2010 -0500
+++ b/builder/com.nokia.carbide.cpp.builder.utils/src/com/nokia/carbide/cpp/internal/builder/utils/handlers/PreprocessHandler.java Thu Sep 09 13:57:02 2010 -0500
@@ -409,7 +409,11 @@
List<IDefine> buildMacros = buildConfig.getBuildContext().getBuildMacros();
for (IDefine define : buildMacros){
- macros.add(define.getName());
+ if (define.getName().equals("__PRODUCT_INCLUDE__")){
+ macros.add(define.getName() + "=" + define.getExpansion());
+ } else {
+ macros.add(define.getName());
+ }
}
List<IDefine> metaDataMacros = buildConfig.getBuildContext().getMetadataMacros();