Undefine GRUB_UTIL in grub-core/lib/crypto.c for MINGW32 as termios is not supported.
PATCH 1/2 Undefine GRUB_UTIL in grub-core/lib/crypto.c for MINGW32 as termios is not supported.
=== modified file 'ChangeLog'
ChangeLog 2011-09-21 21:00:59 +0000 renamed from ChangeLog 2011-09-21 20:39:06 +0000 +2 -0
@@ -4,6 +4,8 @@ * No realpath on mingw32. Instead use _fullpath. * Strip trailing slashes on PHYSICALDRIVE%d paths when making Windows CreateFile calls. + * Undefine GRUB_UTIL in grub-core/lib/crypto.c for MINGW32 as + termios is not supported. 2011-09-17 Grégoire Sutre <[email protected]>
=== modified file 'grub-core/lib/crypto.c'
lib/crypto.c 2011-09-21 21:00:59 +0000 renamed from lib/crypto.c 2011-04-24 15:15:55 +0000 +6 -0
@@ -23,6 +23,12 @@ #include <grub/term.h> #include <grub/dl.h> +/* mingw32 does not support termios as required + by GRUB_UTIL throughout this file*/ +#ifdef __MINGW32__ +#undef GRUB_UTIL +#endif + #ifdef GRUB_UTIL #include <termios.h> #include <stdlib.h>
=== modified file 'ChangeLog'
ChangeLog +2 -0
@@ -4,6 +4,8 @@ * No realpath on mingw32. Instead use _fullpath. * Strip trailing slashes on PHYSICALDRIVE%d paths when making Windows CreateFile calls. + * Undefine GRUB_UTIL in grub-core/lib/crypto.c for MINGW32 as + termios is not supported. 2011-09-17 Grégoire Sutre <[email protected]>
=== modified file 'grub-core/lib/crypto.c'
lib/crypto.c +6 -0
@@ -23,6 +23,12 @@#include <grub/term.h> #include <grub/dl.h> +/* mingw32 does not support termios as required +by GRUB_UTIL throughout this file*/ +#ifdef __MINGW32__ +#undef GRUB_UTIL +#endif +#ifdef GRUB_UTIL #include <termios.h> #include <stdlib.h>
Rejected for the reasons already explained.
Quoted 35 lines · Mario Limonciello
=== modified file 'ChangeLog'
ChangeLog 2011-09-21 21:00:59 +0000 renamed from ChangeLog 2011-09-21 20:39:06 +0000 +2
-0@@ -4,6 +4,8 @@ * No realpath on mingw32. Instead use _fullpath. * Strip trailing slashes on PHYSICALDRIVE%d paths when making Windows CreateFile calls. + * Undefine GRUB_UTIL in grub-core/lib/crypto.c for MINGW32 as + termios is not supported. 2011-09-17 Grégoire Sutre <[email protected]>=== modified file '
grub-core/lib/crypto.c'lib/crypto.c 2011-09-21 21:00:59 +0000 renamed from lib/crypto.c 2011-04-24 15:15:55 +0000 +6
-0@@ -23,6 +23,12 @@ #include <grub/term.h> #include <grub/dl.h> +/* mingw32 does not support termios as required + by GRUB_UTIL throughout this file*/ +#ifdef __MINGW32__ +#undef GRUB_UTIL +#endif + #ifdef GRUB_UTIL #include <termios.h> #include <stdlib.h>_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko