mirror of https://github.com/flysand7/ciabatta.git
move stuff from stddef
This commit is contained in:
parent
f439b768b1
commit
21a7eabe11
|
@ -1,6 +1,4 @@
|
||||||
#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__
|
||||||
|
@ -12,6 +10,12 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <types/size.h>
|
||||||
|
|
||||||
|
#if !defined(NULL)
|
||||||
|
#define NULL ((void *)0)
|
||||||
|
#endif
|
||||||
|
|
||||||
#define EXIT_SUCCESS 0
|
#define EXIT_SUCCESS 0
|
||||||
#define EXIT_FAILURE 1
|
#define EXIT_FAILURE 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue