]> Savannah Git Hosting - gnulib.git/commitdiff
sigabbrev_np, sigdescr_np: Fix compilation error on Linux/alpha, part 2.
authorBruno Haible <bruno@clisp.org>
Sat, 28 Aug 2021 23:16:37 +0000 (01:16 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 28 Aug 2021 23:16:37 +0000 (01:16 +0200)
* tests/test-sigabbrev_np.c (main): Fix syntax error.
* tests/test-sigdescr_np.c (main): Likewise.

tests/test-sigabbrev_np.c
tests/test-sigdescr_np.c

index 42947f8dc1a3b0d958400d0743f338307d850324..8a5f34f3d35666ba25b30a16a94fc4ead6c62081 100644 (file)
@@ -129,7 +129,7 @@ main (void)
   ASSERT (strcmp (sigabbrev_np (SIGEMT), "EMT") == 0);
   #endif
   /* Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix */
-  #ifdef SIGINFO && SIGINFO != SIGPWR
+  #if defined SIGINFO && SIGINFO != SIGPWR
   ASSERT (strcmp (sigabbrev_np (SIGINFO), "INFO") == 0);
   #endif
   /* AIX */
index 5025ac16f498504936e83b2f4e0dd534178120a6..18d99f929c21234b06702f0a9f7637c2f2344f96 100644 (file)
@@ -131,7 +131,7 @@ main (void)
   ASSERT (strcmp (sigdescr_np (SIGEMT), "Instruction emulation needed") == 0);
   #endif
   /* Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix */
-  #ifdef SIGINFO && SIGINFO != SIGPWR
+  #if defined SIGINFO && SIGINFO != SIGPWR
   ASSERT (strcmp (sigdescr_np (SIGINFO), "Information request") == 0);
   #endif
   /* AIX */