Add compile-time warning if __TIMESIZE != 64

https://github.com/Hamlib/Hamlib/issues/1478
pull/1486/head
Mike Black W9MDB 2024-01-21 22:39:57 -06:00
rodzic e62dcd0b4a
commit 67aee82133
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -51,6 +51,10 @@
#include <arpa/inet.h>
#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