From 507454a6d8ae9068396b41c1d7a0b4dec18bd64f Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Fri, 30 Oct 2020 06:55:33 -0600 Subject: [PATCH] rktio: use `tm_gmtoff` instead of `timezone` on Linux Closes #3474 Xsmith discovered that Chez Scheme's use of `tm_gmtoff` is better thank rktio's use of `timezone`. --- racket/src/rktio/rktio_platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/racket/src/rktio/rktio_platform.h b/racket/src/rktio/rktio_platform.h index 1cbc4b95f8..52538a9bb5 100644 --- a/racket/src/rktio/rktio_platform.h +++ b/racket/src/rktio/rktio_platform.h @@ -43,7 +43,7 @@ #if defined(__linux__) -# define USE_TIMEZONE_VAR_W_DLS +# define USE_TM_GMTOFF_FIELD # define USE_TZNAME_VAR # define RKTIO_TCP_LISTEN_IPV6_ONLY_SOCKOPT