diff options
author | Emil Velikov <[email protected]> | 2017-03-20 16:04:18 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-03-22 16:55:22 +0000 |
commit | 1385e588051429cb3a9d7cc0f347c716e4bca227 (patch) | |
tree | 3ed17f6db2bb0f52a3251785262cff637e50914a /src | |
parent | b27a883205156d9b5e13b84aebbcc4c679c5d71a (diff) |
egl/dri2: consistently use ifndef guards over pragma once
Signed-off-by: Emil Velikov <[email protected]>
Acked-by: Vedran Miletić <[email protected]>
Acked-by: Juha-Pekka Heikkila <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2_fallbacks.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2_fallbacks.h b/src/egl/drivers/dri2/egl_dri2_fallbacks.h index 8dad27116df..67a9c5034a2 100644 --- a/src/egl/drivers/dri2/egl_dri2_fallbacks.h +++ b/src/egl/drivers/dri2/egl_dri2_fallbacks.h @@ -22,7 +22,8 @@ * DEALINGS IN THE SOFTWARE. */ -#pragma once +#ifndef EGL_DRI2_FALLBACKS_INCLUDED +#define EGL_DRI2_FALLBACKS_INCLUDED #include "egltypedefs.h" @@ -116,3 +117,5 @@ dri2_fallback_get_sync_values(_EGLDisplay *dpy, _EGLSurface *surf, { return EGL_FALSE; } + +#endif /* EGL_DRI2_FALLBACKS_INCLUDED */ |