ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / gn / gnumake42 / glibc-2.27-glob.patch
blob186212d0d29899da3b1633a7df22ff643968b25e
1 diff -Naur glob/glob.c glob/glob.c
2 --- glob/glob.c 2013-10-20 13:14:38.000000000 -0400
3 +++ glob/glob.c 2018-03-16 14:32:38.483496170 -0400
4 @@ -208,28 +208,9 @@
5 #endif /* __GNU_LIBRARY__ || __DJGPP__ */
8 -#if !defined __alloca && !defined __GNU_LIBRARY__
10 -# ifdef __GNUC__
11 -# undef alloca
12 -# define alloca(n) __builtin_alloca (n)
13 -# else /* Not GCC. */
14 -# ifdef HAVE_ALLOCA_H
15 # include <alloca.h>
16 -# else /* Not HAVE_ALLOCA_H. */
17 -# ifndef _AIX
18 -# ifdef WINDOWS32
19 -# include <malloc.h>
20 -# else
21 -extern char *alloca ();
22 -# endif /* WINDOWS32 */
23 -# endif /* Not _AIX. */
24 -# endif /* sparc or HAVE_ALLOCA_H. */
25 -# endif /* GCC. */
27 # define __alloca alloca
29 -#endif
31 #ifndef __GNU_LIBRARY__
32 # define __stat stat