]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
factor: pacify -Wunused-macros
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Nov 2024 20:45:34 +0000 (13:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Nov 2024 07:05:10 +0000 (23:05 -0800)
* src/factor.c: Also use __GMP_GNUC_PREREQ

src/factor.c

index 3312adbb982b24a3407c9a93a4cc94a43050cae1..70c982292fdfd0cf1f04403162eaa6207a436c5a 100644 (file)
@@ -172,7 +172,8 @@ typedef unsigned long int UDItype;
 
 /* longlong.h uses these macros only in certain system compiler combinations.
    Ensure usage to pacify -Wunused-macros.  */
-# if defined ASSERT || defined UHWtype || defined __GMP_DECLSPEC
+# if (defined ASSERT || defined UHWtype \
+      || defined __GMP_DECLSPEC || defined __GMP_GNUC_PREREQ)
 # endif
 
 # if _ARCH_PPC