diff options
author | EuAndreh <eu@euandre.org> | 2024-06-08 10:23:58 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-06-08 10:23:58 -0300 |
commit | 56d62364184f2ce12e3f81c3831af3881feeda96 (patch) | |
tree | 9a3eb7a80fafc4968d535f0022293fcdf56edfaa | |
parent | src/set.c: v0 for set_add() (diff) | |
download | pindaiba-56d62364184f2ce12e3f81c3831af3881feeda96.tar.gz pindaiba-56d62364184f2ce12e3f81c3831af3881feeda96.tar.xz |
src/int.h: Add minimized stdint.h types
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/int.h | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -45,7 +45,7 @@ include deps.mk catalogs.cat = $(catalogs.msg:.msg=.cat) -sources.h = $(sources.c:.c=.h) +sources.h = $(sources.c:.c=.h) src/int.h sources.o = $(sources.c:.c=.o) tests.o = $(tests.c:.c=.o) tests.a = $(tests.c:.c=.a) diff --git a/src/int.h b/src/int.h new file mode 100644 index 0000000..87e6bd4 --- /dev/null +++ b/src/int.h @@ -0,0 +1,8 @@ +typedef signed char i8; +typedef unsigned char u8; +typedef signed short i16; +typedef unsigned short u16; +typedef signed long i32; +typedef unsigned long u32; +typedef signed long long i64; +typedef unsigned long long u64; |