It seems like they are not present in recent Microsoft headers:
```
$ grep -i posix -r /c/Program\ Files\ \(x86\)/Windows\
Kits/10/Include/10.0.26100.0/ucrt
/c/Program Files (x86)/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt.h:
"The POSIX name for this item is deprecated. Instead, use the ISO C " \
/c/Program Files (x86)/Windows Kits/10/Include/10.0.26100.0/ucrt/errno.h://
POSIX Supplement
/c/Program Files (x86)/Windows
Kits/10/Include/10.0.26100.0/ucrt/errno.h:#ifndef _CRT_NO_POSIX_ERROR_CODES
/c/Program Files (x86)/Windows Kits/10/Include/10.0.26100.0/ucrt/errno.h:#endif
// _CRT_NO_POSIX_ERROR_CODES
```
- Kirill Makurin
________________________________
From: LIU Hao
Sent: Monday, January 19, 2026 7:59 PM
To: Kirill Makurin; [email protected]
Subject: Re: [Mingw-w64-public] Declarations guarded with _POSIX and _POSIX_
在 2026-1-19 18:13, Kirill Makurin 写道:
> I was aware of POSIX subsystem, and what I mean is that I knew it existed and
> was removed in Windows 8.1,
> so I never really looked into it.
>
> Any suggestion what to do with them? Do we try to keep them? Do we remove
> them? This makes me wonder if
> mingw toolchain was ever able to produce working executables for POSIX
> subsystem. If not, I would lean
> towards removing them.
>
I don't know whether they are used. However it probably makes sense to keep
declarations structurally
similar to Micrsoft headers.
--
Best regards,
LIU Hao
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public