wine/include/msvcrt malloc.h
Dimitrie O. Paun
dimi at intelliware.ca
Thu Apr 17 00:36:07 CDT 2003
On Wed, 16 Apr 2003, Alexandre Julliard wrote:
> Log message:
> Fixed alloca handling the way mingw does it (reported by Vincent
> Béron).
> #ifndef USE_MSVCRT_PREFIX
> -static inline void* alloca(MSVCRT(size_t) i) { return _alloca(i); }
> +# ifdef __GNUC__
> +# define _alloca(x) __builtin_alloca((x))
> +# define alloca(x) __builtin_alloca((x))
> +# endif
> #endif /* USE_MSVCRT_PREFIX */
If we know it's GNUC, isn't it better to use the alias feature,
so we don't run into problems with the macros, like we use to?
--
Dimi.
More information about the wine-devel
mailing list