Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/ruy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishidha <npanpa23@in.ibm.com>2021-01-20 06:41:09 +0300
committerCopybara-Service <copybara-worker@google.com>2021-01-20 06:41:30 +0300
commit25df4d3c9028e6c52d4f791771dd4a1d1f0a2f90 (patch)
tree760ce08677d6565fadccdc8dcf4ec0d50ab720a0
parent20b5eb06ebc29c30a5ed460b658fe48d1afc119e (diff)
Corrected macro for detecting ppc platform (#83)
(Sorry I merged this the wrong way the first time) PiperOrigin-RevId: 352705468
-rw-r--r--ruy/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruy/platform.h b/ruy/platform.h
index ffffeb1..eb51931 100644
--- a/ruy/platform.h
+++ b/ruy/platform.h
@@ -33,7 +33,7 @@ limitations under the License.
#endif
// Detect APPLE.
-#ifdef __ppc__
+#if defined(__ppc__) || defined(__powerpc__)
#define RUY_PLATFORM_PPC 1
#else
#define RUY_PLATFORM_PPC 0