mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 18:57:36 +00:00
Integrate ext2 from VFS into Kernel.
This commit is contained in:
parent
aec8ab0a60
commit
9171521752
45 changed files with 662 additions and 1085 deletions
15
AK/ktime.h
Normal file
15
AK/ktime.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#pragma once
|
||||
|
||||
#ifdef SERENITY_KERNEL
|
||||
inline time_t time(time_t* tloc)
|
||||
{
|
||||
if (tloc)
|
||||
*tloc = 123;
|
||||
return 123;
|
||||
}
|
||||
#else
|
||||
#include <time.h>
|
||||
#define ktime time
|
||||
#define klocaltime localtime
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue