From c05ee1d3edfba74e61404666de4f251b42020062 Mon Sep 17 00:00:00 2001
From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Date: Tue, 21 Nov 2017 08:32:25 +0900
Subject: [PATCH] Add support powerpc64le

This supports little endian of powerpc64.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
 src/platform.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/platform.cpp b/src/platform.cpp
index 248ae6e..ff69361 100644
--- a/src/platform.cpp
+++ b/src/platform.cpp
@@ -57,7 +57,7 @@
 // from the current time.
 //
 #ifndef HAVE_ARC4RANDOM_BUF
-#  if defined(__powerpc__) || defined(__powerpc64__)
+#  if defined(__powerpc__) || defined(__powerpc64__) || defined(__powerpc64le__)
 static inline unsigned long read_time(void)
 {
 	unsigned long a;
-- 
2.15.0

