From 67aee821330f5374353b51cb1f7b0c02712a872f Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Sun, 21 Jan 2024 22:39:57 -0600 Subject: [PATCH] Add compile-time warning if __TIMESIZE != 64 https://github.com/Hamlib/Hamlib/issues/1478 --- include/hamlib/rig.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h index c34003d80..3686b662a 100644 --- a/include/hamlib/rig.h +++ b/include/hamlib/rig.h @@ -51,6 +51,10 @@ #include #endif +#if __TIMESIZE != 64 +#warn TIMESIZE != 64 -- Please report your OS system to hamlib-developer@lists.sourceforge.net +#endif + // For MSVC install the NUGet pthread package #if defined(_MSC_VER) #define HAVE_STRUCT_TIMESPEC