remove stdint

This commit is contained in:
nub31
2025-08-24 00:49:32 +02:00
parent b153dab9e2
commit b544e05eea
3 changed files with 3 additions and 18 deletions

View File

@@ -1,17 +0,0 @@
#pragma once
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef signed short int16_t;
typedef unsigned short uint16_t;
typedef signed long int int32_t;
typedef unsigned long int uin32_t;
typedef signed long long int int64_t;
typedef unsigned long long int uin64_t;
#define bool uint8_t;
#define true 1
#define false 0

View File

@@ -1,3 +1,5 @@
#include "string.h"
int strcmp(const char* a, const char* b) int strcmp(const char* a, const char* b)
{ {
while ((*a != '\0' && *b != '\0') && *a == *b) while ((*a != '\0' && *b != '\0') && *a == *b)

View File

@@ -1,6 +1,6 @@
#pragma once #pragma once
#include "stdint.h" #include <stdint.h>
#define VGA_BLACK 0 #define VGA_BLACK 0
#define VGA_BLUE 1 #define VGA_BLUE 1