From af32adfba495f90b50770d66d44c400f9f9c1ba9 Mon Sep 17 00:00:00 2001 From: dhy308 Date: Tue, 22 Jun 2021 15:44:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99#endif?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dhy308 --- usr/include/arm-linux-ohosmusl/unistd.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/usr/include/arm-linux-ohosmusl/unistd.h b/usr/include/arm-linux-ohosmusl/unistd.h index b3448fc..681f3d1 100644 --- a/usr/include/arm-linux-ohosmusl/unistd.h +++ b/usr/include/arm-linux-ohosmusl/unistd.h @@ -466,12 +466,11 @@ pid_t gettid(void); #ifdef _GNU_SOURCE #ifndef TEMP_FAILURE_RETRY #define MUSL_TEMP_FAILURE_RETRY(expression) \ - (__extension__\ - ({ long int __result;\ - do __result = (long int)(expression);\ - while(__result == -1L&& errno == EINTR);\ - __result;})\ -#endif + (__extension__\ + ({ long int __result;\ + do __result = (long int)(expression);\ + while(__result == -1L&& errno == EINTR);\ + __result;})\ #define TEMP_FAILURE_RETRY MUSL_TEMP_FAILURE_RETRY #endif -- GitLab