mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
16 lines
205 B
C
16 lines
205 B
C
#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
|
|
|