equal
deleted
inserted
replaced
27 typedef uint64_t IEC_LWORD; |
27 typedef uint64_t IEC_LWORD; |
28 |
28 |
29 typedef float IEC_REAL; |
29 typedef float IEC_REAL; |
30 typedef double IEC_LREAL; |
30 typedef double IEC_LREAL; |
31 |
31 |
|
32 /* WARNING: When editing the definition of IEC_TIMESPEC, take note that |
|
33 * if the order of the two elements 'tv_sec' and 'tv_nsec' is changed, then the macros |
|
34 * __time_to_timespec() and __tod_to_timespec() will need to be changed accordingly. |
|
35 * (these macros may be found in iec_std_lib.h) |
|
36 */ |
32 typedef struct { |
37 typedef struct { |
33 long int tv_sec; /* Seconds. */ |
38 long int tv_sec; /* Seconds. */ |
34 long int tv_nsec; /* Nanoseconds. */ |
39 long int tv_nsec; /* Nanoseconds. */ |
35 } /* __attribute__((packed)) */ IEC_TIMESPEC; /* packed is gcc specific! */ |
40 } /* __attribute__((packed)) */ IEC_TIMESPEC; /* packed is gcc specific! */ |
36 |
41 |