mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
util/enum_operators: Don't define anything for OpenCL
This file is going to be included in some headers that are shared between normal C++ and OpenCL. And sadly OpenCL can't handle this. Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33439>
This commit is contained in:
parent
a724e1571f
commit
c58c9e0359
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@
|
|||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus) && !defined(__OPENCL_VERSION__)
|
||||
|
||||
#include "macros.h"
|
||||
#include <type_traits>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue