summaryrefslogtreecommitdiffstats
path: root/include/types.h
diff options
context:
space:
mode:
authorAlexey Gavrilov <90127298+rebovas@users.noreply.github.com>2024-03-31 14:40:50 +0700
committerGitHub <noreply@github.com>2024-03-31 14:40:50 +0700
commit18b4f9d1bff908fd91a48c1953ebcb8363855a59 (patch)
treed309b630a161823c79dab9a48f67a41a40d76b24 /include/types.h
parenta276644952ed018e77ca64181059434a6bc4ee62 (diff)
parent49cfee4e370892df8404e56d53b04dde196f82f2 (diff)
Merge pull request #6 from rebovas/idt
IDT + uintptr update
Diffstat (limited to 'include/types.h')
-rw-r--r--include/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/types.h b/include/types.h
index f7c0eb6..9fef833 100644
--- a/include/types.h
+++ b/include/types.h
@@ -12,7 +12,7 @@ typedef unsigned short int uint16;
typedef unsigned long uint32;
typedef unsigned long long uint64;
-#if defined(__x86_64)
+#if defined(__x86_64) || defined(__i686)
typedef uint64 uintptr;
#else
typedef uint32 uintptr;