egl: align the formatting of Haiku section of eglplatform.h with Khronos'
authorEric Engestrom <eric.engestrom@imgtec.com>
Fri, 16 Mar 2018 14:17:54 +0000 (14:17 +0000)
committerEric Engestrom <eric.engestrom@imgtec.com>
Wed, 21 Mar 2018 14:28:05 +0000 (14:28 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
include/EGL/eglplatform.h

index 8a78a9eaddd2f47ff2c00d8c851de4d0ec10684b..b0541d52aed6584c63f2579a44b28e71c4025ec1 100644 (file)
@@ -130,11 +130,13 @@ typedef Window   EGLNativeWindowType;
 
 #endif /* MESA_EGL_NO_X11_HEADERS */
 
-#elif __HAIKU__
+#elif defined(__HAIKU__)
+
 #include <kernel/image.h>
-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"