1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Ensure alloca is defined
Author: Stephen Kitt <skitt@debian.org>
On Debian platforms, we should always include alloca.h, so there’s no
point in checking. This makes the alloca() definition available on
kFreeBSD.
--- a/mingw-w64-tools/widl/src/pathtools.c
+++ b/mingw-w64-tools/widl/src/pathtools.c
@@ -12,9 +12,7 @@
#include <limits.h>
#include <stdio.h>
#include <string.h>
-#if defined(__linux__) || defined(__CYGWIN__) || defined(__MSYS__)
#include <alloca.h>
-#endif
#include <unistd.h>
/* If you don't define this, then get_executable_path()
|