Просмотр исходного кода

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

armink 7 лет назад
Родитель
Сommit
0c4922becb
1 измененных файлов с 2 добавлено и 0 удалено
  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