Fixed #1698 (Add define support to GUI)

This commit is contained in:
Robert Reif 2010-05-21 09:49:57 +02:00 committed by Daniel Marjamäki
parent 8d2e4bc553
commit a8921afcd7
1 changed files with 2 additions and 1 deletions

View File

@ -621,7 +621,8 @@ void Preprocessor::preprocess(std::istream &srcCodeStream, std::string &processe
processedFile = replaceIfDefined(processedFile); processedFile = replaceIfDefined(processedFile);
// Get all possible configurations.. // Get all possible configurations..
resultConfigurations = getcfgs(processedFile, filename); if (!_settings || (_settings && _settings->userDefines.empty()))
resultConfigurations = getcfgs(processedFile, filename);
} }