From 456a8436b5732f5d01e0a298c53710c0e6b46e16 Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Tue, 3 Jan 2023 16:56:45 +0100 Subject: [PATCH] LibGL: Remove i686 data types in favor of 64-bit types --- Userland/Libraries/LibGL/GL/glplatform.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Userland/Libraries/LibGL/GL/glplatform.h b/Userland/Libraries/LibGL/GL/glplatform.h index 824a367105..1fd509bcca 100644 --- a/Userland/Libraries/LibGL/GL/glplatform.h +++ b/Userland/Libraries/LibGL/GL/glplatform.h @@ -28,8 +28,10 @@ typedef unsigned char GLboolean; typedef short GLshort; typedef unsigned short GLushort; typedef int GLint; +typedef long GLint64; typedef long GLintptr; typedef unsigned int GLuint; +typedef unsigned long GLuint64; typedef int GLfixed; typedef int GLsizei; typedef long GLsizeiptr; @@ -40,11 +42,3 @@ typedef float GLclampf; typedef double GLdouble; typedef unsigned int GLenum; typedef unsigned int GLbitfield; - -#if defined(__x86_64__) || defined(__aarch64__) -typedef long GLint64; -typedef unsigned long GLuint64; -#else -typedef long long GLint64; -typedef unsigned long long GLuint64; -#endif