[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/2] Undefine GRUB_UTIL in grub-core/lib/crypto.c for MINGW32 as
From: |
Mario Limonciello |
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 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 |
=== 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 <address@hidden>
=== 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>
ml_3428.patch
Description: Text Data
- [PATCH 1/2] Undefine GRUB_UTIL in grub-core/lib/crypto.c for MINGW32 as termios is not supported.,
Mario Limonciello <=