mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-10-30 20:48:59 +08:00
[libc] Add _EXFUN judgement
This commit is contained in:
1 parent
1f472cd1e1
commit
fcb62b80da
1 file changed
+7
@@ -26,8 +26,15 @@
|
||||
#ifndef __RTT_LIBC_H__
|
||||
#define __RTT_LIBC_H__
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#ifndef _EXFUN
|
||||
#define _EXFUN(name, proto) name proto
|
||||
#endif
|
||||
|
||||
#define MILLISECOND_PER_SECOND 1000UL
|
||||
#define MICROSECOND_PER_SECOND 1000000UL
|
||||
#define NANOSECOND_PER_SECOND 1000000000UL
|
||||
|
||||
Reference in new issue
Block a user