Fix IEC_TIMESPEC declaration

This commit is contained in:
Thiago Alves
2024-07-12 08:51:35 -04:00
committed by GitHub
parent 1132d47c37
commit 22f4bc233c
+2 -2
View File
@@ -35,8 +35,8 @@ typedef double IEC_LREAL;
* (these macros may be found in iec_std_lib.h)
*/
typedef struct {
long int tv_sec; /* Seconds. */
long int tv_nsec; /* Nanoseconds. */
int32_t tv_sec; /* Seconds. */
int32_t tv_nsec; /* Nanoseconds. */
} /* __attribute__((packed)) */ IEC_TIMESPEC; /* packed is gcc specific! */
typedef IEC_TIMESPEC IEC_TIME;