* [PATCH 1/2] Undefine GRUB_UTIL in grub-core/lib/crypto.c for MINGW32 as termios is not supported.
@ 2011-09-21 21:29 Mario Limonciello
2011-09-29 8:41 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 1 reply; 2+ messages in thread
From: Mario Limonciello @ 2011-09-21 21:29 UTC (permalink / raw)
To: grub-devel@gnu.org
[-- Attachment #1: Type: text/plain, Size: 887 bytes --]
=== 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 <gregoire.sutre@gmail.com>
=== 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>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ml_3428.patch --]
[-- Type: text/x-diff; name="ml_3428.patch", Size: 840 bytes --]
=== 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 <gregoire.sutre@gmail.com>
=== 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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-29 8:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-21 21:29 [PATCH 1/2] Undefine GRUB_UTIL in grub-core/lib/crypto.c for MINGW32 as termios is not supported Mario Limonciello
2011-09-29 8:41 ` Vladimir 'φ-coder/phcoder' Serbinenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.