From f439b768b151a8f3e9b6191f3259f2d62b80dd67 Mon Sep 17 00:00:00 2001 From: bumbread Date: Tue, 2 Aug 2022 12:19:55 +1100 Subject: [PATCH] lmao why did i even commit previous commit --- inc/limits.h | 14 -------------- inc/stdint.h | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/inc/limits.h b/inc/limits.h index 26a90cb..7719eb8 100644 --- a/inc/limits.h +++ b/inc/limits.h @@ -1,20 +1,6 @@ #pragma once -#define _ILP32 0 -#define _LLP64 1 -#define _LP64 2 -#define _ILP64 3 -#define _SILP64 4 - -#if defined() - #define _DATA_MODEL _LP64 -#elif defined() - #define _DATA_MODEL _LLP64 -#else - #error "Could not determine target OS" -#endif - #define MB_LEN_MAX 5 #define CHAR_BIT 8 diff --git a/inc/stdint.h b/inc/stdint.h index 3165a27..8b6e28a 100644 --- a/inc/stdint.h +++ b/inc/stdint.h @@ -9,7 +9,7 @@ typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; -#defined (_WIN64) +#if defined(_WIN64) typedef unsigned long long uint64_t; #else typedef unsigned long uint64_t;