From aec0c8045ab7e3983c44ffd5d9413a229d2a555a Mon Sep 17 00:00:00 2001 From: Joel Winarske Date: Fri, 21 Jul 2017 12:19:57 -0700 Subject: [PATCH] for building with Clang and Android --- arraylist.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arraylist.c b/arraylist.c index e859dfd..0be095f 100644 --- a/arraylist.c +++ b/arraylist.c @@ -22,6 +22,7 @@ # include #endif /* HAVE_STRINGS_H */ +#ifndef SIZE_T_MAX #if SIZEOF_SIZE_T == SIZEOF_INT #define SIZE_T_MAX UINT_MAX #elif SIZEOF_SIZE_T == SIZEOF_LONG @@ -31,6 +32,7 @@ #else #error Unable to determine size of size_t #endif +#endif #include "arraylist.h"