From 5257f807a9fb069bfb05ad3784a680b35cdab35d Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sun, 4 Aug 2024 00:03:17 +0200 Subject: [PATCH] fix invalid ifdef syntax in HUGETLB handling --- driver/others/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/others/memory.c b/driver/others/memory.c index 53e49b452..6343a3785 100644 --- a/driver/others/memory.c +++ b/driver/others/memory.c @@ -2769,7 +2769,7 @@ void *blas_memory_alloc(int procpos){ #ifdef ALLOC_DEVICEDRIVER alloc_devicedirver, #endif -#ifdef ALLOC_SHM && !defined(ALLOC_HUGETLB) +#if defined(ALLOC_SHM) && !defined(ALLOC_HUGETLB) alloc_shm, #endif #if ((defined ALLOC_HUGETLB) && (defined OS_LINUX || defined OS_AIX || defined __sun__ || defined OS_WINDOWS))