diff options
-rw-r--r-- | common/shmalloc.c | 2 | ||||
-rw-r--r-- | include/shared_mem.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/shmalloc.c b/common/shmalloc.c index 6d3d4c728f..fc9fed16c7 100644 --- a/common/shmalloc.c +++ b/common/shmalloc.c @@ -17,7 +17,7 @@ static struct mutex shmem_lock; -#ifndef TEST_BUILD +#ifndef TEST_SHMALLOC #define set_map_bit(x) #define TEST_GLOBAL static #else diff --git a/include/shared_mem.h b/include/shared_mem.h index b99cdb1341..f69730b311 100644 --- a/include/shared_mem.h +++ b/include/shared_mem.h @@ -58,7 +58,7 @@ struct shm_buffer { size_t buffer_size; }; -#ifdef TEST_BUILD +#ifdef TEST_SHMALLOC /* * When in test mode, all possible paths in the allocation/free functions set |