]> git.ipfire.org Git - thirdparty/zstd.git/commit
fix #911 : changed detection macro for clock_gettime()
authorYann Collet <cyan@fb.com>
Mon, 4 Dec 2017 23:57:01 +0000 (15:57 -0800)
committerYann Collet <cyan@fb.com>
Mon, 4 Dec 2017 23:57:01 +0000 (15:57 -0800)
commite46194bbf95aa11b81f3cc1be83f13d3f888421d
tree3591c81f431d864cb97b40cc39bf276b989fe181
parent896980ec15ea7e2a701155cbfb060de915f1e77f
fix #911 : changed detection macro for clock_gettime()

The new macro might be a bit too restrictive.
Systems which do not support new test will simply default to <time.h>'s `clock_t clock()`,
suffering lesser benchmark accuracy.
Should it matter, the detection macro will have to be upgraded.
programs/util.h