在 2025-10-30 05:00, Pali Rohár 写道:
On Wednesday 29 October 2025 21:58:12 Peter0x44 wrote:

How about simply removing the include of stdlib.h and adding the prototype
manually?

__SIZE_T__ memalignment(const void* p);

That is fine too. You can include corecrt.h or stddef.h which provides size_t 
keyword.

We can just duplicate the prototype from the definition, and it has been done in other files such as cxa_thread_atexit.c.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to