[gtk/wip/otte/for-master: 3/4] gdk: #if => #ifdef




commit 164d0a5201a3f40223f6004bc100f76f288b61aa
Author: Benjamin Otte <otte redhat com>
Date:   Wed Nov 3 22:51:39 2021 +0100

    gdk: #if => #ifdef
    
    Makes compilers happy

 gdk/gdkglcontext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c
index a768a8c042..23c5eba8bf 100644
--- a/gdk/gdkglcontext.c
+++ b/gdk/gdkglcontext.c
@@ -255,7 +255,7 @@ static GdkGLAPI
 gdk_gl_context_real_realize (GdkGLContext  *context,
                              GError       **error)
 {
-#if HAVE_EGL
+#ifdef HAVE_EGL
   GdkGLContextPrivate *priv = gdk_gl_context_get_instance_private (context);
   GdkDisplay *display = gdk_gl_context_get_display (context);
   EGLDisplay egl_display = gdk_display_get_egl_display (display);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]