From 8cfb5742661b7fbf5f8f676ce6fa2cf612e00a99 Mon Sep 17 00:00:00 2001 From: Luke Go Date: Mon, 8 Jul 2019 15:37:59 +0900 Subject: [PATCH] wiringPi: android: don't define duplicated definition. --- wiringPi/wiringPi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wiringPi/wiringPi.h b/wiringPi/wiringPi.h index 348a55d..4048cd9 100755 --- a/wiringPi/wiringPi.h +++ b/wiringPi/wiringPi.h @@ -103,7 +103,9 @@ extern const char *piMakerNames [16]; extern const int piMemorySize [ 8]; /*----------------------------------------------------------------------------*/ +#if !defined(ANDROID) #define PAGE_SIZE (4*1024) +#endif #define BLOCK_SIZE (4*1024) /*----------------------------------------------------------------------------*/