a5bd9f6
From c7cfeef7d608f88328e7ab8dc004a2333d93da40 Mon Sep 17 00:00:00 2001
a5bd9f6
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
a5bd9f6
Date: Sun, 14 Apr 2013 19:57:15 +0200
a5bd9f6
Subject: [PATCH 311/364] 	* grub-core/lib/posix_wrap/sys/types.h: Make
a5bd9f6
 WORDS_BIGENDIAN definition 	match config-util.h to avoid warnings and
a5bd9f6
 increase compatibility.
a5bd9f6
a5bd9f6
---
a5bd9f6
 ChangeLog                            | 6 ++++++
a5bd9f6
 grub-core/lib/posix_wrap/sys/types.h | 2 +-
a5bd9f6
 2 files changed, 7 insertions(+), 1 deletion(-)
a5bd9f6
a5bd9f6
diff --git a/ChangeLog b/ChangeLog
a5bd9f6
index 8cbf241..a4d9555 100644
a5bd9f6
--- a/ChangeLog
a5bd9f6
+++ b/ChangeLog
a5bd9f6
@@ -1,4 +1,10 @@
a5bd9f6
+2013-04-14  Vladimir Serbinenko  <phcoder@gmail.com>
a5bd9f6
+
a5bd9f6
+	* grub-core/lib/posix_wrap/sys/types.h: Make WORDS_BIGENDIAN definition
a5bd9f6
+	match config-util.h to avoid warnings and increase compatibility.
a5bd9f6
+
a5bd9f6
 2013-04-14  Szymon Janc <szymon@janc.net.pl>
a5bd9f6
+2013-04-14  Vladimir Serbinenko  <phcoder@gmail.com>
a5bd9f6
 
a5bd9f6
 	Add option to compress files on install/image creation.
a5bd9f6
 
a5bd9f6
diff --git a/grub-core/lib/posix_wrap/sys/types.h b/grub-core/lib/posix_wrap/sys/types.h
a5bd9f6
index c88a96e..6485a9a 100644
a5bd9f6
--- a/grub-core/lib/posix_wrap/sys/types.h
a5bd9f6
+++ b/grub-core/lib/posix_wrap/sys/types.h
a5bd9f6
@@ -60,7 +60,7 @@ typedef grub_addr_t uintptr_t;
a5bd9f6
 #define SIZEOF_UINT64_T 8
a5bd9f6
 
a5bd9f6
 #ifdef GRUB_CPU_WORDS_BIGENDIAN
a5bd9f6
-#define WORDS_BIGENDIAN
a5bd9f6
+#define WORDS_BIGENDIAN 1
a5bd9f6
 #else
a5bd9f6
 #undef WORDS_BIGENDIAN
a5bd9f6
 #endif
a5bd9f6
-- 
a5bd9f6
1.8.1.4
a5bd9f6