Skip to content

Commit

Permalink
Merge pull request cebix#245 from rakslice/b2_enable_posix_precise_ti…
Browse files Browse the repository at this point in the history
…ming

B2: Enable high precision timer for POSIX
  • Loading branch information
kanjitalk755 authored Jan 9, 2025
2 parents 1bedfac + 2816889 commit edfe4bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BasiliskII/src/Unix/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ fi

dnl Checks for library functions.
AC_CHECK_FUNCS(strdup strerror cfmakeraw)
AC_CHECK_FUNCS(clock_gettime timer_create)
AC_CHECK_FUNCS(clock_gettime clock_nanosleep timer_create)
AC_CHECK_FUNCS(sigaction signal)
AC_CHECK_FUNCS(mmap mprotect munmap)
AC_CHECK_FUNCS(vm_allocate vm_deallocate vm_protect)
Expand Down
1 change: 1 addition & 0 deletions BasiliskII/src/timer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#ifdef PRECISE_TIMING_POSIX
#include <pthread.h>
#include <semaphore.h>
#include <signal.h>
#endif

#ifdef PRECISE_TIMING_MACH
Expand Down

0 comments on commit edfe4bc

Please sign in to comment.