From: vvb2060 Date: Mon, 27 Jun 2022 19:48:43 +0000 (+0800) Subject: easy_lock.h: use __asm__ instead of asm to fix build X-Git-Tag: curl-7_85_0~227 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a1a892565443fa4145888c6150da65c9a33d15c;p=thirdparty%2Fcurl.git easy_lock.h: use __asm__ instead of asm to fix build Closes #9056 --- diff --git a/lib/easy_lock.h b/lib/easy_lock.h index 1f54289ceb..07c85c5ffd 100644 --- a/lib/easy_lock.h +++ b/lib/easy_lock.h @@ -54,7 +54,7 @@ static inline void curl_simple_lock_lock(curl_simple_lock *lock) #if defined(__i386__) || defined(__x86_64__) __builtin_ia32_pause(); #elif defined(__aarch64__) - asm volatile("yield" ::: "memory"); + __asm__ volatile("yield" ::: "memory"); #elif defined(HAVE_SCHED_YIELD) sched_yield(); #endif