Allocate reentrancy structures with malloc().
Add define to avoid any global reentrancy structure.