newlib: add clock_gettime()

git-svn-id: svn://kolibrios.org@6109 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2016-01-29 08:10:00 +00:00
parent c64bf3d60e
commit ac054a24fe
9 changed files with 89 additions and 60 deletions

View File

@@ -655,6 +655,8 @@
#define __GNU_VISIBLE 1
#endif
#define __GNU_VISIBLE 1
/* Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1. */
#if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE == 1
#undef _POSIX_C_SOURCE /* Probably illegal, but beyond caring now. */