diff options
| author | Meco Man <[email protected]> | 2022-01-14 23:31:59 -0500 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2022-01-17 11:18:09 +0800 |
| commit | 76cab376adf0cf52a17d11e633be711ba6149c4a (patch) | |
| tree | 54dee1f428b6431855b07b650542b554d397851f /components/libc/compilers/newlib/machine | |
| parent | 1a46d7fe92e0e26ab480e9ef890a83848581c136 (diff) | |
[libc] 调整文件结构
Diffstat (limited to 'components/libc/compilers/newlib/machine')
| -rw-r--r-- | components/libc/compilers/newlib/machine/time.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/components/libc/compilers/newlib/machine/time.h b/components/libc/compilers/newlib/machine/time.h new file mode 100644 index 0000000000..805b061aea --- /dev/null +++ b/components/libc/compilers/newlib/machine/time.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2006-2021, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: + * Date Author Notes + * 2021-02-16 Meco Man The first version + */ + +#ifndef _MACHTIME_H_ +#define _MACHTIME_H_ + +#include <rtconfig.h> +#define _CLOCKS_PER_SEC_ RT_TICK_PER_SECOND + +#endif /* _MACHTIME_H_ */ |
