mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:17:35 +00:00
Import very modest Userland.
This commit is contained in:
parent
4cbf079a17
commit
63764b3a65
23 changed files with 81 additions and 27 deletions
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#ifdef SERENITY_KERNEL
|
||||
#ifdef SERENITY
|
||||
#include "kassert.h"
|
||||
#else
|
||||
#include <assert.h>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#ifdef SERENITY_KERNEL
|
||||
#ifdef SERENITY
|
||||
#include <Kernel/StdLib.h>
|
||||
#else
|
||||
#include <cstring>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#if defined(SERENITY_KERNEL) || defined(SERENITY_LIBC)
|
||||
#if defined(SERENITY)
|
||||
typedef unsigned char byte;
|
||||
typedef unsigned short word;
|
||||
typedef unsigned int dword;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#ifdef SERENITY_KERNEL
|
||||
#ifdef SERENITY
|
||||
#include <Kernel/kmalloc.h>
|
||||
#else
|
||||
#include <new>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#ifdef SERENITY_KERNEL
|
||||
#ifdef SERENITY
|
||||
#include <Kernel/kstdio.h>
|
||||
#else
|
||||
#include <cstdio>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#ifdef SERENITY_KERNEL
|
||||
#ifdef SERENITY
|
||||
#include <Kernel/ktime.h>
|
||||
#else
|
||||
#include <time.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue