Daniel Kiper cd63a2f8cd lib/posix_wrap/errno.h: Add __set_errno() macro
$ ./configure --target=x86_64-w64-mingw32 --with-platform=efi --host=x86_64-w64-mingw32
$ make

[...]

cat syminfo.lst | sort | gawk -f ./genmoddep.awk > moddep.lst || (rm -f moddep.lst; exit 1)
__imp__errno in regexp is not defined

This happens because grub-core/lib/gnulib/malloc/dynarray_resize.c and
grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c (both are used by
regexp module) from the latest Gnulib call __set_errno() which originally
sets errno variable (Windows builds add __imp__ prefix). Of course it is
not defined and grub_errno should be used instead.

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2022-03-21 19:22:28 +01:00
..
2011-05-13 16:36:05 +02:00
2017-05-08 20:53:28 +02:00
2022-03-14 15:47:13 +01:00
2010-08-30 00:54:15 +02:00
2022-03-14 15:47:13 +01:00
2022-03-14 15:47:13 +01:00
2021-12-23 01:05:34 +01:00
2022-03-14 15:47:13 +01:00
2022-03-14 15:47:13 +01:00
2019-02-25 11:28:44 +01:00
2016-10-27 16:22:06 +02:00
2022-03-21 18:50:13 +01:00
2022-03-14 15:47:13 +01:00
2011-07-05 20:24:20 +02:00
2022-03-14 15:47:13 +01:00
2019-03-25 15:14:52 +01:00
2012-02-26 18:09:07 +01:00
2022-03-14 15:47:13 +01:00
2013-12-18 05:28:05 +01:00
2016-02-12 12:39:38 +01:00
2022-03-14 15:47:13 +01:00
2021-09-20 13:52:20 +02:00