From: Mario Limonciello <mario_limonciello@dell.com>
To: "grub-devel@gnu.org" <grub-devel@gnu.org>
Subject: [PATCH 1/2] Undefine GRUB_UTIL in grub-core/lib/crypto.c for MINGW32 as termios is not supported.
Date: Wed, 21 Sep 2011 16:29:48 -0500 [thread overview]
Message-ID: <4E7A574C.3090901@dell.com> (raw)
[-- 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>
next reply other threads:[~2011-09-21 21:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-21 21:29 Mario Limonciello [this message]
2011-09-29 8:41 ` [PATCH 1/2] Undefine GRUB_UTIL in grub-core/lib/crypto.c for MINGW32 as termios is not supported Vladimir 'φ-coder/phcoder' Serbinenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E7A574C.3090901@dell.com \
--to=mario_limonciello@dell.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.