setup.py
changeset 44605 960770add699
parent 44588 2a98b0cd4995
child 44630 4c6189d45d67
equal deleted inserted replaced
44602:a89aa2d7b34d 44605:960770add699
  1268 ]
  1268 ]
  1269 common_include_dirs = ['mercurial']
  1269 common_include_dirs = ['mercurial']
  1270 
  1270 
  1271 common_cflags = []
  1271 common_cflags = []
  1272 
  1272 
  1273 # MSVC 2008 still needs declarations at the top of the scope.
  1273 # MSVC 2008 still needs declarations at the top of the scope, but Python 3.9
  1274 if os.name != 'nt':
  1274 # makes declarations not at the top of a scope in the headers.
       
  1275 if os.name != 'nt' and sys.version_info[1] < 9:
  1275     common_cflags = ['-Werror=declaration-after-statement']
  1276     common_cflags = ['-Werror=declaration-after-statement']
  1276 
  1277 
  1277 osutil_cflags = []
  1278 osutil_cflags = []
  1278 osutil_ldflags = []
  1279 osutil_ldflags = []
  1279 
  1280