SHA256
6
0
forked from pool/tre
tre/tre.diff
OBS User autobuild fa667d528c Accepting request 28061 from devel:libraries:c_c++
Copy from devel:libraries:c_c++/tre based on submit request 28061 from user pgajdos

OBS-URL: https://build.opensuse.org/request/show/28061
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tre?expand=0&rev=1
2010-01-07 12:03:51 +00:00

29 lines
711 B
Diff

diff -ru tre-0.7.5/lib/tre-match-approx.c tre-0.7.5.new/lib/tre-match-approx.c
--- tre-0.7.5/lib/tre-match-approx.c 2006-12-08 19:07:03.000000000 +0000
+++ tre-0.7.5.new/lib/tre-match-approx.c 2008-01-24 19:47:12.000000000 +0000
@@ -23,24 +23,6 @@
#include <config.h>
#endif /* HAVE_CONFIG_H */
-/* AIX requires this to be the first thing in the file. */
-#ifdef TRE_USE_ALLOCA
-#ifndef __GNUC__
-# if HAVE_ALLOCA_H
-# include <alloca.h>
-# else
-# ifdef _AIX
- #pragma alloca
-# else
-# ifndef alloca /* predefined by HP cc +Olibcalls */
-char *alloca ();
-# endif
-# endif
-# endif
-#endif
-#endif /* TRE_USE_ALLOCA */
-
-#define __USE_STRING_INLINES
#undef __NO_INLINE__
#include <assert.h>