Show More
@@ -590,9 +590,9 b" common_depends = ['mercurial/bitmanipula" | |||||
590 | osutil_cflags = [] |
|
590 | osutil_cflags = [] | |
591 | osutil_ldflags = [] |
|
591 | osutil_ldflags = [] | |
592 |
|
592 | |||
593 |
# platform specific macros |
|
593 | # platform specific macros | |
594 |
for plat, func in [( |
|
594 | for plat, func in [('bsd', 'setproctitle'), ('bsd|darwin|linux', 'statfs')]: | |
595 |
if |
|
595 | if re.search(plat, sys.platform) and hasfunction(new_compiler(), func): | |
596 | osutil_cflags.append('-DHAVE_%s' % func.upper()) |
|
596 | osutil_cflags.append('-DHAVE_%s' % func.upper()) | |
597 |
|
597 | |||
598 | if sys.platform == 'darwin': |
|
598 | if sys.platform == 'darwin': |
General Comments 0
You need to be logged in to leave comments.
Login now