Kaydet (Commit) 4013cbd0 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Include an empty body when checking for a header file

(Bugfix candidate for 2.2, and likely 2.1 as well)
üst 2412853f
......@@ -346,7 +346,8 @@ class config (Command):
exists and can be found by the preprocessor; return true if so,
false otherwise.
"""
return self.try_cpp(headers=[header], include_dirs=include_dirs)
return self.try_cpp(body="/* No body */", headers=[header],
include_dirs=include_dirs)
# class config
......
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