summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fallback_malloc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fallback_malloc.cpp b/src/fallback_malloc.cpp
index 150a4bb..202a467 100644
--- a/src/fallback_malloc.cpp
+++ b/src/fallback_malloc.cpp
@@ -216,7 +216,7 @@ void* __aligned_malloc_with_fallback(size_t size) {
if (size == 0)
size = 1;
void* dest;
- if (::posix_memalign(&dest, alignof(__aligned_type), size) == 0)
+ if (::posix_memalign(&dest, __alignof(__aligned_type), size) == 0)
return dest;
#endif
return fallback_malloc(size);