summaryrefslogtreecommitdiffstats
path: root/src/allocator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/allocator.c')
-rw-r--r--src/allocator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/allocator.c b/src/allocator.c
index bedef47..2df0b90 100644
--- a/src/allocator.c
+++ b/src/allocator.c
@@ -65,7 +65,7 @@ zix_default_aligned_alloc(ZixAllocator* const allocator,
const int ret = posix_memalign(&ptr, alignment, size);
return ret ? NULL : ptr;
#else
-# error No aligned memory allocation available
+ return NULL;
#endif
}