X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/939c2b22a74142b76a62ba02b9da29ccb20dc5c2..2ac3322ef9bc032ad942753a56696764aa0b0f74:/windows/winstuff.h diff --git a/windows/winstuff.h b/windows/winstuff.h index 28dd08db..177c7d2f 100644 --- a/windows/winstuff.h +++ b/windows/winstuff.h @@ -139,6 +139,15 @@ GLOBAL void *logctx; "All Files (*.*)\0*\0\0\0") /* + * On some versions of Windows, it has been known for WM_TIMER to + * occasionally get its callback time simply wrong, and call us + * back several minutes early. Defining these symbols enables + * compensation code in timing.c. + */ +#define TIMING_SYNC +#define TIMING_SYNC_TICKCOUNT + +/* * winnet.c dynamically loads WinSock 2 or WinSock 1 depending on * what it can get, which means any WinSock routines used outside * that module must be exported from it as function pointers. So