diff options
author | Nicolas Trangez <ikke@nicolast.be> | 2022-09-21 13:49:58 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-10-21 02:58:39 -0400 |
commit | a2af7c4c59ef24a71cc6cab7bd6b07d12f02aad1 (patch) | |
tree | 08e881fc1d61ca41c5f9297cbcb0b2bbb545c181 /rts/win32 | |
parent | 8cd6f435e60f9dd14ad55a0002ff833536e9ccb2 (diff) | |
download | haskell-a2af7c4c59ef24a71cc6cab7bd6b07d12f02aad1.tar.gz |
build: get rid of `HAVE_TIME_H`
As advertized by `autoreconf`:
> All current systems provide time.h; it need not be checked for.
Hence, remove the check for it in `configure.ac` and remove conditional
inclusion of the header in `HAVE_TIME_H` blocks where applicable.
The `time.h` header was being included in various source files without a
`HAVE_TIME_H` guard already anyway.
Diffstat (limited to 'rts/win32')
-rw-r--r-- | rts/win32/GetTime.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rts/win32/GetTime.c b/rts/win32/GetTime.c index e0f5e7d406..1722e14f8f 100644 --- a/rts/win32/GetTime.c +++ b/rts/win32/GetTime.c @@ -11,9 +11,7 @@ #include <windows.h> -#if defined(HAVE_TIME_H) -# include <time.h> -#endif +#include <time.h> /* Convert FILETIMEs into secs */ |