=== modified file 'ChangeLog'
--- ChangeLog 2011-09-21 20:39:06 +0000
+++ ChangeLog 2011-09-21 21:00:59 +0000
@@ -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'
--- grub-core/lib/crypto.c 2011-04-24 15:15:55 +0000
+++ grub-core/lib/crypto.c 2011-09-21 21:00:59 +0000
@@ -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 2011-09-21 20:39:06 +0000
+++ ChangeLog 2011-09-21 21:00:59 +0000
@@ -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'
--- grub-core/lib/crypto.c 2011-04-24 15:15:55 +0000
+++ grub-core/lib/crypto.c 2011-09-21 21:00:59 +0000
@@ -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