Subject: bug#6754: TIME_WITH_SYS_TIME in nt/config.nt and src/s/ms-w32.h

From: Eli Zaretskii <[email-masked]>
Date: Thu, 29 Jul 2010 20:55:31 +0300

> From: Dan Nicolaescu <[email-masked]>
> Date: Thu, 29 Jul 2010 11:59:15 -0400
> Cc: 
> 
> 
> nt/config.nt:#undef TIME_WITH_SYS_TIME
> 
> src/s/ms-w32.h:#define TIME_WITH_SYS_TIME 1
> 
> These seems to contradict each other. Aren't these files used on the same platform?

It seems to be a left-over from long ago.  Once upon a time, Windows
headers didn't have sys/time.h (MSVC still doesn't, but MinGW now
does), so nt/config.nt disabled its use.  Later, nt/inc/sys/time.h was
added to work around this, but the #undef was not removed.  Since
ms-w32.h is included _after_ the #undef, it did no harm.

Bottom line: the #undef in config.nt can be removed.