summaryrefslogtreecommitdiff
path: root/xdiff/xutils.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-07-25 14:13:35 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-07-25 14:13:36 -0700
commit937be62993392246bc056e8959c8b9514ac3e534 (patch)
tree6cd44afb96fbd1edd841c5b72d3f43c4415c0c5c /xdiff/xutils.h
parentMerge branch 'js/ignore-space-at-eol' (diff)
parentconfig.mak.uname: define NEEDS_LIBRT under Linux, for now (diff)
downloadtgif-937be62993392246bc056e8959c8b9514ac3e534.tar.xz
Merge branch 'rw/make-needs-librt'
Makefile assumed that -lrt is always available on platforms that want to use clock_gettime() and CLOCK_MONOTONIC, which is not a case for recent Mac OS X. The necessary symbols are often found in libc on many modern systems and having -lrt on the command line, as long as the library exists, had no effect, but when the platform removes librt.a that is a different matter--having -lrt will break the linkage. This change could be seen as a regression for those who do need to specify -lrt, as they now specifically ask for NEEDS_LIBRT when building. Hopefully they are in the minority these days. * rw/make-needs-librt: config.mak.uname: define NEEDS_LIBRT under Linux, for now Makefile: add NEEDS_LIBRT to optionally link with librt
Diffstat (limited to 'xdiff/xutils.h')
0 files changed, 0 insertions, 0 deletions