options/ansi: Add POSIX timezone variables
This commit is contained in:
parent
262171539d
commit
b972ba7eeb
|
@ -14,6 +14,11 @@
|
|||
#include <mlibc/file-window.hpp>
|
||||
#include <mlibc/sysdeps.hpp>
|
||||
|
||||
// Variables defined by POSIX.
|
||||
int daylight;
|
||||
long timezone;
|
||||
char *tzname[2];
|
||||
|
||||
clock_t clock(void) {
|
||||
__ensure(!"Not implemented");
|
||||
__builtin_unreachable();
|
||||
|
|
|
@ -81,6 +81,10 @@ void tzset(void);
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern int daylight;
|
||||
extern long timezone;
|
||||
extern char *tzname[2];
|
||||
|
||||
int nanosleep(const struct timespec *, struct timespec *);
|
||||
|
||||
int clock_getres(clockid_t, struct timespec *);
|
||||
|
|
Loading…
Reference in a new issue