Navigation Menu

Skip to content

Commit

Permalink
Silenced warning when including KHR/khrplaform.h
Browse files Browse the repository at this point in the history
  • Loading branch information
matus-chochlik committed Oct 20, 2015
1 parent afa17d1 commit c1fb22b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion utils/eglplus/egl/include/EGL/egl.h
Expand Up @@ -4,7 +4,7 @@
*
* @author Matus Chochlik
*
* Copyright 2012-2013 Matus Chochlik. Distributed under the Boost
* Copyright 2012-2015 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
Expand All @@ -13,8 +13,17 @@
#ifndef EGLPLUS_EGL_1306251503_H
#define EGLPLUS_EGL_1306251503_H

#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wreserved-id-macro"
#endif

#include <KHR/khrplatform.h>

#ifdef __clang__
#pragma clang diagnostic pop
#endif

#include "egl_ppdef.inc"

#ifdef __cplusplus
Expand Down

0 comments on commit c1fb22b

Please sign in to comment.