summaryrefslogtreecommitdiffstats
path: root/src/os_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 5801965874..bba5d16e11 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -8271,7 +8271,7 @@ xsmp_close(void)
#endif // USE_XSMP
#if defined(FEAT_RELTIME) || defined(PROTO)
-# if defined(HAVE_TIMER_CREATE) || defined(PROTO)
+# if defined(PROF_NSEC) || defined(PROTO)
/*
* Implement timeout with timer_create() and timer_settime().
*/
@@ -8371,7 +8371,7 @@ delete_timer(void)
timer_created = FALSE;
}
-# else // HAVE_TIMER_CREATE
+# else // PROF_NSEC
/*
* Implement timeout with setitimer()
@@ -8496,5 +8496,5 @@ start_timeout(long msec)
timer_active = TRUE;
return &timeout_flag;
}
-# endif // HAVE_TIMER_CREATE
+# endif // PROF_NSEC
#endif // FEAT_RELTIME