BUILD: activity: use #ifdef not #if on USE_MEMORY_PROFILING
authorWilly Tarreau <w@1wt.eu>
Sat, 28 Aug 2021 10:04:25 +0000 (12:04 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 28 Aug 2021 10:04:25 +0000 (12:04 +0200)
commite15615c1ff5fac65f58849a768f8c7449f5dd968
tree2d8b4b102bb8151e32a5c2bc51063f365c0b2d8b
parentcbdc74b4b32af93b4724adcb4b2354bb811693ab
BUILD: activity: use #ifdef not #if on USE_MEMORY_PROFILING

This avoids most build warnings with -Wundef, and all other USE_* flags
are tested this way, let's do it there as well. See gh issue #1369.
src/activity.c