Skip to content

Commit

Permalink
fix invalid ifdef syntax in HUGETLB handling
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Aug 3, 2024
1 parent 2c2b6bc commit 5257f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/others/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 5257f80

Please sign in to comment.