Module Name:    src
Committed By:   mrg
Date:           Thu Jun 23 12:07:41 UTC 2011

Modified Files:
        src/external/lgpl3/gmp/dist: gmp-impl.h

Log Message:
don't try to declare alloca() (wrongly) on netbsd.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/lgpl3/gmp/dist/gmp-impl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/lgpl3/gmp/dist/gmp-impl.h
diff -u src/external/lgpl3/gmp/dist/gmp-impl.h:1.1.1.1 src/external/lgpl3/gmp/dist/gmp-impl.h:1.2
--- src/external/lgpl3/gmp/dist/gmp-impl.h:1.1.1.1	Mon Jun 20 05:54:33 2011
+++ src/external/lgpl3/gmp/dist/gmp-impl.h	Thu Jun 23 12:07:41 2011
@@ -162,7 +162,9 @@
 #     if defined (_AIX) || defined (_IBMR2)
  #pragma alloca
 #     else
-       char *alloca ();
+#      if !defined (__NetBSD__)
+        char *alloca ();
+#      endif
 #     endif
 #    endif
 #   endif

Reply via email to