Workaround LLVM/Clang 11.0 for Darwin builds (#2200)

LLVM/Clang 11.0 adds a `-Wundef-prefix=TARGET_OS_` build flag which
breaks this build flag.

Signed-off-by: Ben Kochie <superq@gmail.com>
pull/2206/head
Ben Kochie 3 years ago committed by GitHub
parent 3e6f4ce627
commit fda358a1ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -39,6 +39,7 @@ import (
#include <mach/mach_init.h>
#include <mach/mach_host.h>
#include <mach/host_info.h>
#include <TargetConditionals.h>
#if TARGET_OS_MAC
#include <libproc.h>
#endif

Loading…
Cancel
Save