File tree Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change
1
+ assume adl = 1
2
+
3
+ public _clock
4
+ _clock:
5
+ ld a,-1
6
+ ret
Original file line number Diff line number Diff line change 2
2
#define _TIME_H
3
3
4
4
#include <cdefs.h>
5
- #include <stdint.h>
6
5
7
6
#ifndef NULL
8
7
#define NULL ((void*)0)
9
8
#endif
10
9
11
- #ifndef SIZE_T_DEFINED
12
- #define SIZE_T_DEFINED
13
- typedef __SIZE_TYPE__ size_t ;
14
- #endif
15
-
16
10
#ifndef LOCALTIME_GMT_OFFSET
17
11
#define LOCALTIME_GMT_OFFSET 0
18
12
#endif
19
13
14
+ #ifndef CLOCKS_PER_SEC
15
+ #define CLOCKS_PER_SEC 0
16
+ #endif
17
+
20
18
__BEGIN_DECLS
21
19
22
- typedef uint32_t time_t ;
23
- typedef uint32_t clock_t ;
20
+ #ifndef SIZE_T_DEFINED
21
+ #define SIZE_T_DEFINED
22
+ typedef __SIZE_TYPE__ size_t ;
23
+ #endif
24
+
25
+ typedef unsigned long time_t ;
26
+ typedef char clock_t ;
24
27
25
28
struct tm {
26
29
int tm_sec ;
You can’t perform that action at this time.
0 commit comments