mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[liba] Use stddef.h
Change-Id: I6bd0999d173488e4aff989bdb1bfa93229de7eaa
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
#ifndef LIBA_TYPES_H
|
||||
#define LIBA_TYPES_H
|
||||
|
||||
typedef int size_t;
|
||||
|
||||
#endif
|
||||
7
liba/include/stddef.h
Normal file
7
liba/include/stddef.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef LIBA_STDDEF_H
|
||||
#define LIBA_STDDEF_H
|
||||
|
||||
#define NULL 0
|
||||
typedef int size_t;
|
||||
|
||||
#endif
|
||||
@@ -2,7 +2,7 @@
|
||||
#define LIBA_MALLOC_H
|
||||
|
||||
#include "private/macros.h"
|
||||
#include "private/types.h"
|
||||
#include <stddef.h>
|
||||
|
||||
LIBA_BEGIN_DECLS
|
||||
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
#define LIBA_STRING_H
|
||||
|
||||
#include "private/macros.h"
|
||||
#include "private/types.h"
|
||||
|
||||
#define NULL 0
|
||||
#include <stddef.h>
|
||||
|
||||
LIBA_BEGIN_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user