mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-05 10:48:03 -04:00
17 lines
429 B
Plaintext
17 lines
429 B
Plaintext
$NetBSD: patch-ac,v 1.1 2007/06/11 13:38:34 markd Exp $
|
||
|
||
--- src/m/hp800.h.orig 1996-01-15 01:15:02.000000000 -0800
|
||
+++ src/m/hp800.h 2005-10-04 10:49:46.000000000 -0700
|
||
@@ -181,3 +181,11 @@
|
||
#define rindex strrchr
|
||
|
||
#endif /* __hpux */
|
||
+
|
||
+/* Systems with GCC don't need to lose. */
|
||
+#ifdef __NetBSD__
|
||
+# ifdef __GNUC__
|
||
+# define alloca __builtin_alloca
|
||
+# define HAVE_ALLOCA
|
||
+# endif /* __GNUC__ */
|
||
+#endif /* __NetBSD__ */
|