From 0731b0937dcb522afdf98c556269b79708fbb120 Mon Sep 17 00:00:00 2001 From: Sergey Borovkov Date: Thu, 14 Apr 2016 18:14:32 +0300 Subject: [PATCH] qml: Enable qmlglsink for eglfs https://bugzilla.gnome.org/show_bug.cgi?id=763044 --- gst-libs/gst/gl/egl/gstegl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-libs/gst/gl/egl/gstegl.h b/gst-libs/gst/gl/egl/gstegl.h index 4fc2f3d..82d4953 100644 --- a/gst-libs/gst/gl/egl/gstegl.h +++ b/gst-libs/gst/gl/egl/gstegl.h @@ -30,8 +30,10 @@ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wredundant-decls" +#if !defined(__cplusplus) #pragma GCC optimize ("gnu89-inline") #endif +#endif #ifndef EGL_EGLEXT_PROTOTYPES #define EGL_EGLEXT_PROTOTYPES 1 -- 2.7.4