Fix LINPHONE_NO_BREAK definition

This commit is contained in:
Erwan Croze 2017-05-30 16:43:47 +02:00
parent 41a1f556e1
commit 6ef2f2a96f

View file

@ -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