mirror of
https://github.com/thiagoralves/OpenPLC_v3.git
synced 2026-09-23 11:34:22 +08:00
Fix IEC_TIMESPEC declaration
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user