https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a3e870be510b9e650351daa25524bc64bbbfd926
commit a3e870be510b9e650351daa25524bc64bbbfd926 Author: Hervé Poussineau <[email protected]> AuthorDate: Thu Apr 4 14:19:27 2019 +0200 Commit: Hervé Poussineau <[email protected]> CommitDate: Sun Apr 7 18:32:28 2019 +0200 [SDK] Remove double declaration of _alloca _alloca() is already defined in sdk/include/crt/malloc.h --- sdk/include/crt/mingw32/intrin_x86.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sdk/include/crt/mingw32/intrin_x86.h b/sdk/include/crt/mingw32/intrin_x86.h index 368dab73d6..25f5831670 100644 --- a/sdk/include/crt/mingw32/intrin_x86.h +++ b/sdk/include/crt/mingw32/intrin_x86.h @@ -82,11 +82,6 @@ __INTRIN_INLINE void* __cdecl memcpy(void* dest, const void* source, size_t num) #define _AddressOfReturnAddress() (&(((void **)(__builtin_frame_address(0)))[1])) /* TODO: __getcallerseflags but how??? */ -/* Maybe the same for x86? */ -#ifdef __x86_64__ -#define _alloca(s) __builtin_alloca(s) -#endif - /*** Memory barriers ***/ #if !HAS_BUILTIN(_ReadWriteBarrier)
