1
Fork 0
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:
Andreas Kling 2018-10-17 11:40:58 +02:00
parent 9171521752
commit d2425495ca
8 changed files with 147 additions and 97 deletions

View file

@ -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