diff options
author | Angelo Mantellini <angelo.mantellini@irt-systemx.fr> | 2018-11-09 13:45:09 +0100 |
---|---|---|
committer | Angelo Mantellini <angelo.mantellini@irt-systemx.fr> | 2018-11-09 13:45:09 +0100 |
commit | 7093864d4cce1967d36f9d675d3df257e97d5944 (patch) | |
tree | 0bbdb2a142fe3efa708f79c9e71a540db0828e0a /libparc | |
parent | 7c9ff25dcc00602bf6d63156fe70844c1e97ee30 (diff) |
correct ios issue about processor variable definition
Change-Id: Iceb5de68357ee0d093d8218ae0c36264d7e2c01e
Signed-off-by: Angelo Mantellini <angelo.mantellini@irt-systemx.fr>
Diffstat (limited to 'libparc')
-rwxr-xr-x | libparc/parc/algol/parc_StdlibMemory.c | 4 |
1 files 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); |