From bee11bcbba405659c8c5204e0d5eb0ce659d612b Mon Sep 17 00:00:00 2001 From: Jasmine Iwanek Date: Wed, 26 Jul 2023 19:54:39 -0400 Subject: [PATCH] Fix my clang fix --- src/include/86box/plat.h | 2 +- src/include/86box/plat_fallthrough.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/86box/plat.h b/src/include/86box/plat.h index 02e5def3b..2b0809c2e 100644 --- a/src/include/86box/plat.h +++ b/src/include/86box/plat.h @@ -55,7 +55,7 @@ extern int strnicmp(const char *s1, const char *s2, size_t n); # define off64_t off_t #endif -#if !defined (__APPLE__) || !defined(__clang__) +#if !defined (__APPLE__) && !defined(__clang__) # define FALLTHROUGH_ANNOTATION #endif diff --git a/src/include/86box/plat_fallthrough.h b/src/include/86box/plat_fallthrough.h index 702321344..212d662fe 100644 --- a/src/include/86box/plat_fallthrough.h +++ b/src/include/86box/plat_fallthrough.h @@ -18,7 +18,7 @@ #ifndef EMU_PLAT_FALLTHROUGH_H #define EMU_PLAT_FALLTHROUGH_H -#if !defined (__APPLE__) || !defined(__clang__) +#if !defined (__APPLE__) && !defined(__clang__) # define FALLTHROUGH_ANNOTATION #endif