]> git.ipfire.org Git - thirdparty/gcc.git/commit
Ada: Fix warning for redefinition of POLLPRI macro on Windows
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 24 Oct 2025 13:44:56 +0000 (15:44 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Fri, 24 Oct 2025 16:52:45 +0000 (18:52 +0200)
commita84fe54e808a0966592d8fb4da0c63b2df219cef
treed2315b2411b2c591e2048b1de5b81f529a7901cf
parente56b72872d6daa775dd4a486c15cd85fe910c4e1
Ada: Fix warning for redefinition of POLLPRI macro on Windows

The macro is explicitly forced to 0 on Windows.

gcc/ada/
PR ada/113516
* s-oscons-tmplt.c [_WIN32]: Undefine POLLPRI before redefining it.
gcc/ada/s-oscons-tmplt.c