summaryrefslogtreecommitdiffstats
path: root/config/tm-gmtoff.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-04-19 14:28:43 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-04-19 15:50:45 -0400
commit111cc3af4b6132fda47d18683a04985ca7c571c2 (patch)
tree40694f82fd521a29be87ba647e7e710c4cdaadf4 /config/tm-gmtoff.c
parent17da9c855a49925333433b4308c1b3384c65c50a (diff)
downloadbfs-111cc3af4b6132fda47d18683a04985ca7c571c2.tar.xz
config: Check for struct tm::tm_gmtoff
Diffstat (limited to 'config/tm-gmtoff.c')
-rw-r--r--config/tm-gmtoff.c9
1 files changed, 9 insertions, 0 deletions
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 <tavianator@tavianator.com>
+// SPDX-License-Identifier: 0BSD
+
+#include <time.h>
+
+int main(void) {
+ struct tm tm = {0};
+ return tm.tm_gmtoff;
+}