In a Windows backend, don't build src/port/pgsleep.c's version of
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Jul 2006 20:17:04 +0000 (20:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Jul 2006 20:17:04 +0000 (20:17 +0000)
commit93120f3501cc9603bfbaf87dea815feb77b782b3
treecb6e2e8c4cfa6ae7ba5ff0b920f79408cd527f3c
parente96373aae58f0e12a4c1845d5c10d94729a01b52
In a Windows backend, don't build src/port/pgsleep.c's version of
pg_usleep at all.  Instead call the replacement function in
port/win32/signal.c by that name.  Avoids tricky macro-redefinition
logic and suppresses a compiler warning; furthermore it ensures that
no one can accidentally use the non-signal-aware version of pg_usleep
in a Windows backend.
src/backend/port/win32/signal.c
src/backend/postmaster/syslogger.c
src/include/port/win32.h
src/port/pgsleep.c