I've given up on using alloca() in portable C/C++ code because, well, it is not portable. I got tired of the ugliness of the conditional compilation needed for it and its corresponding .h file, let alone the compilers that didn't support it at all.

I have a goal of getting rid of all host platform dependent conditional compilation.