[Python-Dev] [win32] Killing MSVC's _alloca

Martin v. Loewis martin@v.loewis.de
05 Oct 2002 03:45:56 +0200


Christian Tismer <tismer@tismer.com> writes:

> Hmm. I had this problem (no alloca, no idea why) and defined
> it by a macro in this case.
> Is it cleaner to undefine __STDC__ instead?

No. I would always go with the Microsoft name. If the code also needs
to work on Unix, add a define for the functions you need.

Regards,
Martin