Commit 6ef2f2a9 authored by Erwan Croze's avatar Erwan Croze 👋🏻

Fix LINPHONE_NO_BREAK definition

parent 41a1f556
......@@ -51,7 +51,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
/* Macro telling GCC that a 'break' statement has been deliberately omitted
* in switch block */
#ifndef LINPHONE_NO_BREAK
#ifdef __GNUC__
#if defined(__GNUC__) && __GNUC__ >= 7
#define LINPHONE_NO_BREAK __attribute__((fallthrough))
#else
#define LINPHONE_NO_BREAK
......
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