mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-08 12:19:37 +03:00
422e5166f2
This can get pulled in by <cxxabi.h>, but we don't want it pulling in more stuff from LibC.
18 lines
237 B
C
18 lines
237 B
C
#pragma once
|
|
|
|
#ifndef KERNEL
|
|
|
|
#include <sys/cdefs.h>
|
|
#include <sys/types.h>
|
|
|
|
#ifdef __cplusplus
|
|
# define NULL nullptr
|
|
#else
|
|
# define NULL ((void*)0)
|
|
#endif
|
|
|
|
typedef __PTRDIFF_TYPE__ ptrdiff_t;
|
|
typedef __SIZE_TYPE__ size_t;
|
|
|
|
#endif
|