Package: zfs-fuse / 0.7.0-12

ppc64el-src-lib-libsolcompat-include-sys-isa_defs.h-remove-_.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 5e5687fae59d87de440085c00b7079e0299d912a Mon Sep 17 00:00:00 2001
From: Nageswara R Sastry <nasastry@in.ibm.com>
Date: Fri, 18 Apr 2014 01:55:36 -0500
Subject: [PATCH 1/3] src/lib/libsolcompat/include/sys/isa_defs.h: remove _LP64
 redefined

The following patch removes "warning: "_LP64" redefined"

Signed-off-by: Nageswara R Sastry <nasastry@in.ibm.com>
---
 src/lib/libsolcompat/include/sys/isa_defs.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/libsolcompat/include/sys/isa_defs.h b/src/lib/libsolcompat/include/sys/isa_defs.h
index eedc332..1555975 100644
--- a/src/lib/libsolcompat/include/sys/isa_defs.h
+++ b/src/lib/libsolcompat/include/sys/isa_defs.h
@@ -513,7 +513,9 @@ extern "C" {
 /*
  * Define the appropriate "implementation choices" for PowerPC 64 bit
  */
+#if !defined(_LP64)
 #define _LP64
+#endif
 #if !defined(_I32LPx)
 #define _I32LPx
 #endif
-- 
1.9.1