From 111cc3af4b6132fda47d18683a04985ca7c571c2 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 19 Apr 2024 14:28:43 -0400 Subject: config: Check for struct tm::tm_gmtoff --- config/tm-gmtoff.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 config/tm-gmtoff.c (limited to 'config/tm-gmtoff.c') diff --git a/config/tm-gmtoff.c b/config/tm-gmtoff.c new file mode 100644 index 0000000..543df48 --- /dev/null +++ b/config/tm-gmtoff.c @@ -0,0 +1,9 @@ +// Copyright © Tavian Barnes +// SPDX-License-Identifier: 0BSD + +#include + +int main(void) { + struct tm tm = {0}; + return tm.tm_gmtoff; +} -- cgit v1.2.3