Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/lgpl3/gmp/dist don't try to declare alloca() (wrong...
details: https://anonhg.NetBSD.org/src/rev/6db39982a59c
branches: trunk
changeset: 766472:6db39982a59c
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Jun 23 12:07:41 2011 +0000
description:
don't try to declare alloca() (wrongly) on netbsd.
diffstat:
external/lgpl3/gmp/dist/gmp-impl.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 1222f88e464b -r 6db39982a59c external/lgpl3/gmp/dist/gmp-impl.h
--- a/external/lgpl3/gmp/dist/gmp-impl.h Thu Jun 23 12:07:00 2011 +0000
+++ b/external/lgpl3/gmp/dist/gmp-impl.h Thu Jun 23 12:07:41 2011 +0000
@@ -162,7 +162,9 @@
# if defined (_AIX) || defined (_IBMR2)
#pragma alloca
# else
- char *alloca ();
+# if !defined (__NetBSD__)
+ char *alloca ();
+# endif
# endif
# endif
# endif
Home |
Main Index |
Thread Index |
Old Index