Skip to content

Commit 5257f80

Browse files
authored
fix invalid ifdef syntax in HUGETLB handling
1 parent 2c2b6bc commit 5257f80

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)