Remove reliance on system stdint.h header
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#if defined(__aarch64__)
|
||||
#include <stdint.h>
|
||||
#include "../int.h"
|
||||
|
||||
void exit(int8_t status){
|
||||
asm ( "mov x0, %0\n" // Move the exit status into register x0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#if defined(__mips__)
|
||||
#include <stdint.h>
|
||||
#include "../int.h"
|
||||
|
||||
void exit(int8_t status){
|
||||
asm (
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <stdint.h>
|
||||
#if defined(__x86_64__)
|
||||
#include "../int.h"
|
||||
|
||||
#define SYS_EXIT 60
|
||||
void exit(int8_t status) {
|
||||
|
||||
Reference in New Issue
Block a user