Ticket #495: patch44_core.patch
File patch44_core.patch, 1019 bytes (added by , 14 years ago) |
---|
-
common/realtime.h
36 36 #else 37 37 # include <sys/types.h> 38 38 # include <sys/timeb.h> 39 extern void xapian_sleep_milliseconds(unsigned int millisecs); 39 40 #endif 40 41 41 42 namespace RealTime { … … 90 91 tv.tv_usec = long(std::fmod(delta, 1.0) * 1e6); 91 92 } while (select(0, NULL, NULL, NULL, &tv) < 0 && errno == EINTR); 92 93 #else 93 extern void xapian_sleep_milliseconds(unsigned int millisecs);94 94 double delta = RealTime::now() - t; 95 95 if (delta <= 0.0) 96 96 return; -
tests/harness/backendmanager_remotetcp.cc
44 44 #ifdef __WIN32__ 45 45 # include "safefcntl.h" 46 46 # include "safewindows.h" 47 # include <io.h> 47 48 #endif 48 49 49 50 #include "noreturn.h"