remove stdint
This commit is contained in:
17
src/stdint.h
17
src/stdint.h
@@ -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
|
|
||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user