Fix header guards

This commit is contained in:
Lucas Schumacher 2025-04-27 02:58:04 -04:00
parent adfdaa27f7
commit 52a7a909ff
2 changed files with 6 additions and 0 deletions

4
int.h
View File

@ -1,3 +1,6 @@
#ifndef MINIMALINT_H
#define MINIMALINT_H
#if defined(__x86_64__) || defined(__aarch64__)
#define __WORDSIZE 64
#elif defined(__mips__)
@ -55,3 +58,4 @@ typedef uint32_t uintptr_t;
//TODO:
//#ifdef __SIZEOF_SIZE_T__
#endif // !MINIMALINT_H

2
sys.h
View File

@ -1,4 +1,6 @@
#ifndef MINIMALSYS_H
#define MINIMALSYS_H
#include "int.h"
void exit(int8_t status);