Commit ed4f52fd authored by Kra Larivain's avatar Kra Larivain

- fixed configuration specific headers

parent 52c2f915
......@@ -49,7 +49,7 @@ module Pod
specs_by_config = specs_scoped_by_configuration(common_specs, specs_by_configuration)
specs_by_config.each do |config, specs|
result << "// #{config} build configuration\n"
result << "#ifdef #{config.gsub(' ', '_').upcase}\n\n"
result << "#ifdef #{config.gsub(/[^a-zA-Z0-9_]/, '_').upcase}\n\n"
specs.each { |spec| result << spec_defines(spec, 1) }
result << "#endif\n"
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment