Skip to content

Commit 50397e0

Browse files
authored
Merge pull request #4838 from martin-frbg/fix4662-3
fix invalid ifdef syntax in HUGETLB handling
2 parents ae27b02 + 5257f80 commit 50397e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/others/memory.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2769,7 +2769,7 @@ void *blas_memory_alloc(int procpos){
27692769
#ifdef ALLOC_DEVICEDRIVER
27702770
alloc_devicedirver,
27712771
#endif
2772-
#ifdef ALLOC_SHM && !defined(ALLOC_HUGETLB)
2772+
#if defined(ALLOC_SHM) && !defined(ALLOC_HUGETLB)
27732773
alloc_shm,
27742774
#endif
27752775
#if ((defined ALLOC_HUGETLB) && (defined OS_LINUX || defined OS_AIX || defined __sun__ || defined OS_WINDOWS))

0 commit comments

Comments
 (0)