[ros-diffs] [ion] 15505: Fix pool code to actually work when some other defines are used