build: skip unsupported compiler option

-Wimplicit-fallthrough for gcc version before 7.x

Signed-off-by: Martin Koch <martin.koch@ese.de>
This commit is contained in:
Martin Koch 2020-05-13 08:11:30 +00:00 committed by Wim Taymans
parent 4000409c80
commit cee1a26be6
2 changed files with 9 additions and 3 deletions

View file

@ -29,6 +29,8 @@
extern "C" {
#endif
#include <stdint.h>
#ifndef __FreeBSD__
#include <endian.h>
#endif