Author: tkreuzer
Date: Fri Jun 17 15:51:00 2011
New Revision: 52318
URL:
http://svn.reactos.org/svn/reactos?rev=52318&view=rev
Log:
[ALLOCA.H]
Add an MSVC friendly proxy of alloca.h
Fixes MSVC build of dbghelp
Added:
trunk/reactos/include/reactos/wine/alloca.h
- copied, changed from r52303, trunk/reactos/include/reactos/wine/_alloca.h
Removed:
trunk/reactos/include/reactos/wine/_alloca.h
Removed: trunk/reactos/include/reactos/wine/_alloca.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/_allo…
==============================================================================
--- trunk/reactos/include/reactos/wine/_alloca.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/wine/_alloca.h (removed)
@@ -1,2 +1,0 @@
-
-#include <malloc.h>
Copied: trunk/reactos/include/reactos/wine/alloca.h (from r52303,
trunk/reactos/include/reactos/wine/_alloca.h)
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/alloc…
==============================================================================
--- trunk/reactos/include/reactos/wine/_alloca.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/wine/alloca.h [iso-8859-1] Fri Jun 17 15:51:00 2011
@@ -1,2 +1,8 @@
+#ifdef _MSC_VER
#include <malloc.h>
+#define alloca _alloca
+#else
+#include_next <alloca.h>
+#endif
+