The latest release of Cygwin supports the timer_getoverrun function, so there's no longer a need for the workaround in profiler.c that defines timer_getoverrun as a macro. The attached patch causes the function to be used rather than the macro when it exists. OK for master? Ken