mirror of https://github.com/flysand7/ciabatta.git
move stuff from stddef
This commit is contained in:
parent
f439b768b1
commit
21a7eabe11
14
inc/stdlib.h
14
inc/stdlib.h
|
@ -1,15 +1,19 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
// Defines NULL
|
|
||||||
#include <stddef.h>
|
|
||||||
|
|
||||||
#if !defined(__STDC_LIB_EXT1__)
|
#if !defined(__STDC_LIB_EXT1__)
|
||||||
#define __STDC_LIB_EXT1__
|
#define __STDC_LIB_EXT1__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __STDC_WANT_SECURE_LIB__
|
#ifdef __STDC_WANT_SECURE_LIB__
|
||||||
#if !defined(__STDC_WANT_LIB_EXT1__)
|
#if !defined(__STDC_WANT_LIB_EXT1__)
|
||||||
#define __STDC_WANT_LIB_EXT1__ 1
|
#define __STDC_WANT_LIB_EXT1__ 1
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <types/size.h>
|
||||||
|
|
||||||
|
#if !defined(NULL)
|
||||||
|
#define NULL ((void *)0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define EXIT_SUCCESS 0
|
#define EXIT_SUCCESS 0
|
||||||
|
|
Loading…
Reference in New Issue