mirror of git://git.musl-libc.org/musl
make tm_zone etc visible under _GNU_SOURCE
This commit is contained in:
parent
a6752eb940
commit
da144eec54
|
@ -39,7 +39,7 @@ struct tm
|
||||||
long __tm_gmtoff;
|
long __tm_gmtoff;
|
||||||
const char *__tm_zone;
|
const char *__tm_zone;
|
||||||
};
|
};
|
||||||
#if defined(_BSD_SOURCE)
|
#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE)
|
||||||
#define tm_gmtoff __tm_gmtoff
|
#define tm_gmtoff __tm_gmtoff
|
||||||
#define tm_zone __tm_zone
|
#define tm_zone __tm_zone
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue