[newlib-cygwin/main] Cygwin: math: fix typo in aarch64 preprocessor conditional in remainderl.S

Jon Turney via Cygwin-cvs <[email protected]> Fri, 5 Jun 2026 11:52:45 +0000 (GMT)
Newsgroups gmane.os.cygwin.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D34d728c99cb=
692b253e8c9d97632200cda9f8b08

commit 34d728c99cb692b253e8c9d97632200cda9f8b08
Author: Jon Turney <[email protected]>
Date:   Thu May 28 22:17:29 2026 +0100

    Cygwin: math: fix typo in aarch64 preprocessor conditional in remainder=
l.S
   =20
    Fix a typo in the aarch64 preprocessor conditional used in remainderl.S.
   =20
    > ../../../../src/winsup/cygwin/math/remainderl.S:39:15: error: missing=
 binary operator before token =E2=80=98(=E2=80=99
    >    39 | #elif _defined(__aarch64__)
    >       |               ^
   =20
    Fixes: a1f347c0d5b8 ("Cygwin: Adapt math functions to use 64bit long do=
uble on aarch64")
    Signed-off-by: Jon Turney <[email protected]>

Diff:
---
 winsup/cygwin/math/remainderl.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/math/remainderl.S b/winsup/cygwin/math/remainder=
l.S
index f05724e94..9b079eca3 100644
--- a/winsup/cygwin/math/remainderl.S
+++ b/winsup/cygwin/math/remainderl.S
@@ -36,7 +36,7 @@ __MINGW_USYMBOL(remainderl):
 	jp	1b
 	fstp	%st(1)
 	ret
-#elif _defined(__aarch64__)
+#elif defined(__aarch64__)
 	bl	remainder
 	ret
 #else