1. 26 11月, 2016 25 次提交
  2. 25 11月, 2016 13 次提交
  3. 24 11月, 2016 2 次提交
    • R
      tests: eventtest: fix build on macOS · a4234291
      Roman Bogorodskiy 提交于
      macOS doesn't support clock_gettime(2), at least versions prior 10.12
      (I didn't actually check 10.12 though). So, use its own routines in
      eventtest.
      
       * configure.ac: check for requires symbols and define
         HAVE_MACH_CLOCK_ROUTINES if found
       * tests/eventtest.c: add clock_get_time() based implementation
      a4234291
    • R
      tests: eventtest: fix LDADD · 0d1c147f
      Roman Bogorodskiy 提交于
      Don't explicitly LDADD -lrt, use $(LIB_CLOCK_GETTIME) because
      not all platforms have clock_gettime(2) and librt available.
      0d1c147f