mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
Catch up with terminology change in UnixCCompiler: 'includes' -> 'include_dirs'.
This commit is contained in:
parent
1d0495e05c
commit
0bdd90a7e7
2 changed files with 12 additions and 11 deletions
|
|
@ -63,19 +63,20 @@ class MSVCCompiler (CCompiler) :
|
|||
sources,
|
||||
output_dir=None,
|
||||
macros=None,
|
||||
includes=None,
|
||||
include_dirs=None,
|
||||
extra_preargs=None,
|
||||
extra_postargs=None):
|
||||
|
||||
if macros is None:
|
||||
macros = []
|
||||
if includes is None:
|
||||
includes = []
|
||||
if include_dirs is None:
|
||||
include_dirs = []
|
||||
|
||||
objectFiles = []
|
||||
|
||||
base_pp_opts = gen_preprocess_options (self.macros + macros,
|
||||
self.include_dirs + includes)
|
||||
base_pp_opts = \
|
||||
gen_preprocess_options (self.macros + macros,
|
||||
self.include_dirs + include_dirs)
|
||||
|
||||
base_pp_opts.append('/c')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue