mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2024-11-21 19:40:07 +00:00
3ab64bed39
unic is a small library of C functions that is currently written in plain C. It's purpose isn't to be fast, but "universal" - as in include as little architecture-specific code as possible. The old neatlibc still resides, but isn't being built. There is still more to do, including implementation of memory management, so keep it there for now. Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
15 lines
309 B
C
15 lines
309 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright (c) 2024, Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
|
|
*/
|
|
|
|
#ifndef STDDEF_H_ /* Include guard */
|
|
#define STDDEF_H_
|
|
|
|
#define NULL ((void *) 0)
|
|
#define offsetof(type, field) ((int) (&((type *) 0)->field))
|
|
|
|
typedef unsigned long size_t;
|
|
|
|
#endif // STDDEF_H_
|