Skip to content
Snippets Groups Projects
Commit 2fc36530 authored by Alexander Graf's avatar Alexander Graf Committed by Philippe Mathieu-Daudé
Browse files

build: Only define OS_OBJECT_USE_OBJC with gcc


Recent versions of macOS use clang instead of gcc. The OS_OBJECT_USE_OBJC
define is only necessary when building with gcc. Let's not define it when
building with clang.

With this patch, I can successfully include GCD headers in QEMU when
building with clang.

Signed-off-by: default avatarAlexander Graf <graf@amazon.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: default avatarAkihiko Odaki <akihiko.odaki@daynix.com>
Message-ID: <20230830161425.91946-2-graf@amazon.com>
Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
parent 0b2d8bd6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment