aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlibparc/parc/algol/parc_StdlibMemory.c4
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);