diff options
author | Daniel De Graaf <danieldg@inspircd.org> | 2010-09-08 19:53:38 -0400 |
---|---|---|
committer | Daniel De Graaf <danieldg@inspircd.org> | 2010-09-08 20:21:15 -0400 |
commit | bdf42d61259476c362590b9ccfb2feea33f72329 (patch) | |
tree | 59656e38a3ebbc063d1dda91b89acb966d71d183 /configure | |
parent | 6010e6b53c8f0b89718f8c883f701dcf70246660 (diff) |
Add gettimeofday() fallback for systems without clock_gettime
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -871,6 +871,9 @@ print FILEHANDLE "#define MAXBUF " . ($config{MAXBUF}+2) . "\n"; if ($config{HAS_EVENTFD} eq 'true') { print FILEHANDLE "#define HAS_EVENTFD\n"; } + if ($config{OSNAME} !~ /DARWIN/i) { + print FILEHANDLE "#define HAS_CLOCK_GETTIME\n"; + } my $use_hiperf = 0; if (($has_kqueue) && ($config{USE_KQUEUE} eq "y")) { print FILEHANDLE "#define USE_KQUEUE\n"; |