Skip to content

Commit 7e4edf9

Browse files
committed
fixup! fixup! fixup! fixup! fixup! Add definitions to embedded AArch32/AArch64
1 parent 0d46c46 commit 7e4edf9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libc/include/llvm-libc-macros/time-macros.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
#include "linux/time-macros.h"
88
#elif defined(__ELF__)
99
#include "baremetal/time-macros.h"
10+
#else
11+
#define CLOCKS_PER_SEC 1000000
1012
#endif
1113

1214
#define CLK_TCK CLOCKS_PER_SEC

0 commit comments

Comments
 (0)