Powered by Linux
[PATCH 02/18] sparse: define __x86_64; some software checks for this not __x86_64__ — Semantic Matching Tool

[PATCH 02/18] sparse: define __x86_64; some software checks for this not __x86_64__

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: John Levon <levon@xxxxxxxxxxxxxxxxx>
---
 lib.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib.c b/lib.c
index b03229c0..be71e5b3 100644
--- a/lib.c
+++ b/lib.c
@@ -461,6 +461,7 @@ static void handle_arch_m64_finalize(void)
 		pointer_alignment = 8;
 #ifdef __x86_64__
 		add_pre_buffer("#weak_define __x86_64__ 1\n");
+ 		add_pre_buffer("#weak_define __x86_64 1\n");
 #endif
 		break;
 	}
-- 
2.14.1





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux