From 7093864d4cce1967d36f9d675d3df257e97d5944 Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Fri, 9 Nov 2018 13:45:09 +0100 Subject: correct ios issue about processor variable definition Change-Id: Iceb5de68357ee0d093d8218ae0c36264d7e2c01e Signed-off-by: Angelo Mantellini --- libparc/parc/algol/parc_StdlibMemory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libparc/parc/algol/parc_StdlibMemory.c b/libparc/parc/algol/parc_StdlibMemory.c index 6bbbc0b3..a919f727 100755 --- a/libparc/parc/algol/parc_StdlibMemory.c +++ b/libparc/parc/algol/parc_StdlibMemory.c @@ -64,7 +64,7 @@ _parcStdlibMemory_DecrementOutstandingAllocations(void) } #endif -#if HAVE_REALLOC == 0 +#ifndef HAVE_REALLOC static void * _parcStdlibMemory_rplRealloc(void *oldAlloc, size_t newSize) { @@ -144,7 +144,7 @@ parcStdlibMemory_Deallocate(void **pointer) void * parcStdlibMemory_Reallocate(void *pointer, size_t newSize) { -#if HAVE_REALLOC +#ifdef HAVE_REALLOC void *result = realloc(pointer, newSize); #else void *result = _parcStdlibMemory_rplRealloc(pointer, newSize); -- cgit 1.2.3-korg