From: Eric Engestrom Date: Fri, 16 Mar 2018 14:17:54 +0000 (+0000) Subject: egl: align the formatting of Haiku section of eglplatform.h with Khronos' X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f744c6c1e28fe363474550b94af42a8b7fc1c755;p=mesa.git egl: align the formatting of Haiku section of eglplatform.h with Khronos' Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov --- diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h index 8a78a9eaddd..b0541d52aed 100644 --- a/include/EGL/eglplatform.h +++ b/include/EGL/eglplatform.h @@ -130,11 +130,13 @@ typedef Window EGLNativeWindowType; #endif /* MESA_EGL_NO_X11_HEADERS */ -#elif __HAIKU__ +#elif defined(__HAIKU__) + #include -typedef void *EGLNativeDisplayType; -typedef khronos_uintptr_t EGLNativePixmapType; -typedef khronos_uintptr_t EGLNativeWindowType; + +typedef void *EGLNativeDisplayType; +typedef khronos_uintptr_t EGLNativePixmapType; +typedef khronos_uintptr_t EGLNativeWindowType; #else #error "Platform not recognized"