move stuff from stddef

This commit is contained in:
bumbread 2022-08-04 16:41:09 +11:00
parent f439b768b1
commit 21a7eabe11
2 changed files with 9 additions and 5 deletions

View File

@ -1,15 +1,19 @@
#pragma once
// Defines NULL
#include <stddef.h>
#if !defined(__STDC_LIB_EXT1__)
#define __STDC_LIB_EXT1__
#define __STDC_LIB_EXT1__
#endif
#ifdef __STDC_WANT_SECURE_LIB__
#if !defined(__STDC_WANT_LIB_EXT1__)
#define __STDC_WANT_LIB_EXT1__ 1
#if !defined(__STDC_WANT_LIB_EXT1__)
#define __STDC_WANT_LIB_EXT1__ 1
#endif
#endif
#include <types/size.h>
#if !defined(NULL)
#define NULL ((void *)0)
#endif
#define EXIT_SUCCESS 0