mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:57:35 +00:00
VirtualFileSystem class builds inside Kernel.
This commit is contained in:
parent
9171521752
commit
d2425495ca
8 changed files with 147 additions and 97 deletions
|
@ -1,12 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#ifdef SERENITY_KERNEL
|
||||
inline time_t time(time_t* tloc)
|
||||
{
|
||||
if (tloc)
|
||||
*tloc = 123;
|
||||
return 123;
|
||||
}
|
||||
#include <Kernel/ktime.h>
|
||||
#else
|
||||
#include <time.h>
|
||||
#define ktime time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue