equal
deleted
inserted
replaced
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 |