mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Change-Id: I900e752607ca5b805463895910f5fd3812e1760d Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
23 lines
324 B
C++
23 lines
324 B
C++
/*
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#if !defined __has_cpp_attribute
|
|
|
|
#define CPP_ATTRIBUTE_FALLTHROUGH
|
|
|
|
#else
|
|
|
|
#if !__has_cpp_attribute(fallthrough)
|
|
#define CPP_ATTRIBUTE_FALLTHROUGH
|
|
#else
|
|
#define CPP_ATTRIBUTE_FALLTHROUGH [[fallthrough]]
|
|
#endif
|
|
|
|
#endif
|