From 48b05469d2b233eb935349887172aadc9bfcd570 Mon Sep 17 00:00:00 2001 From: tqfx Date: Mon, 2 Dec 2024 04:51:00 +0800 Subject: [PATCH] fix A_PRIz on GNUC --- include/a/a.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/a/a.h b/include/a/a.h index f3d8732..9a28112 100644 --- a/include/a/a.h +++ b/include/a/a.h @@ -754,8 +754,7 @@ typedef A_UPTR a_uptr; typedef A_DIFF a_diff; #if defined(__STDC_VERSION__) && (__STDC_VERSION__ > 199900L) || \ - defined(__cplusplus) && (__cplusplus > 201100L) || \ - defined(__GNUC__) || A_PREREQ_MSVC(19, 0) + defined(__cplusplus) && (__cplusplus > 201100L) || A_PREREQ_MSVC(19, 0) #if !defined A_PRIt #define A_PRIt "t" #endif /* A_PRIt */ @@ -788,8 +787,7 @@ typedef A_DIFF a_diff; typedef A_SIZE a_size; #if defined(__STDC_VERSION__) && (__STDC_VERSION__ > 199900L) || \ - defined(__cplusplus) && (__cplusplus > 201100L) || \ - defined(__GNUC__) || A_PREREQ_MSVC(19, 0) + defined(__cplusplus) && (__cplusplus > 201100L) || A_PREREQ_MSVC(19, 0) #if !defined A_PRIz #define A_PRIz "z" #endif /* A_PRIz */ -- 2.11.4.GIT