Commit 9e539cd2 authored by Sebastien Alaiwan's avatar Sebastien Alaiwan Committed by Frédéric BARBIER

Fix build: use proper gcc attribute syntax

Change-Id: I4c5d962bcac389d86eadb4bccc838a017bda4062
parent e0b15997
......@@ -48,7 +48,7 @@ extern "C" {
#define AOM_FALLTHROUGH_INTENDED [[clang::fallthrough]] // NOLINT
#endif
#elif defined(__GNUC__) && __GNUC__ >= 7
#define AOM_FALLTHROUGH_INTENDED [[gnu::fallthrough]] // NOLINT
#define AOM_FALLTHROUGH_INTENDED __attribute__((fallthrough)) // NOLINT
#endif
#ifndef AOM_FALLTHROUGH_INTENDED
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment