You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
There's no known supported system needing 1 argument gettimeofday()support. The test for it was added a long time ago (92c6bf9). Remove.Until now we tested whether a gettimeofday() fallback is needed whentargetting windows. Which lead to the odd result that HAVE_GETTIMEOFDAY onlybeing defined when targetting MinGW (which has gettimeofday() since at least2007). As the fallback is specific to msvc, remove the configure code andrename src/port/gettimeofday.c to src/port/win32gettimeofday.c.While at it, also remove the definition of struct timezone, a forwarddeclaration of the struct is sufficient.Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us>Reviewed-By: Thomas Munro <thomas.munro@gmail.com>Discussion:https://postgr.es/m/20220806000311.ywx65iuchvj4qn2k@awork3.anarazel.de