Browse Source

[Libc][Minilibc] Add type 'clock_t' to minilibc.

armink 7 năm trước cách đây
mục cha
commit
0c4922becb
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      components/libc/compilers/minilibc/sys/types.h

+ 2 - 0
components/libc/compilers/minilibc/sys/types.h

@@ -15,6 +15,8 @@ typedef int mode_t;
 typedef unsigned long clockid_t;
 typedef int pid_t;
 
+typedef	unsigned long clock_t; /* clock() */
+
 #ifndef NULL
 #define NULL        (0)
 #endif