mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
msp430: add time_t and struct timespec
This commit is contained in:
parent
26b2461cf9
commit
7fb1ac4402
@ -6,4 +6,11 @@
|
||||
/** defining signed type for size_t */
|
||||
typedef _ssize_t ssize_t;
|
||||
|
||||
typedef unsigned long time_t;
|
||||
|
||||
struct timespec {
|
||||
time_t tv_sec; /* Seconds */
|
||||
long tv_nsec; /* Nanoseconds */
|
||||
};
|
||||
|
||||
#endif /* MSP430_TYPES_H */
|
||||
|
Loading…
Reference in New Issue
Block a user