libc: update to upstream master.

This commit is contained in:
Our Air Quality 2017-09-21 21:46:20 +10:00
parent 1e76ce25d5
commit 6080bb6ef2
19 changed files with 281 additions and 24 deletions

View file

@ -1,7 +1,7 @@
#ifndef _MACHTIME_H_
#define _MACHTIME_H_
#if defined(__rtems__) || defined(__VISIUM__)
#if defined(__rtems__) || defined(__VISIUM__) || defined(__riscv)
#define _CLOCKS_PER_SEC_ 1000000
#elif defined(__aarch64__) || defined(__arm__) || defined(__thumb__)
#define _CLOCKS_PER_SEC_ 100