Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

2006-09-11 Zoltan Varga <vargaz@gmail.com>

	* jni.c: Apply a patch from the freebsd ports tree. Include the proper
	include for alloca ().

svn path=/trunk/mono/; revision=65238
  • Loading branch information...
commit 066927f58f016a727e3e99ff6d0d62c4c01c2fd8 1 parent 9601558
@vargaz vargaz authored
Showing with 7 additions and 1 deletion.
  1. +4 −0 ikvm-native/ChangeLog
  2. +3 −1 ikvm-native/jni.c
View
4 ikvm-native/ChangeLog
@@ -1,3 +1,7 @@
+2006-09-11 Zoltan Varga <vargaz@gmail.com>
+
+ * jni.c: Apply a patch from the freebsd ports tree. Include the proper
+ include for alloca ().
Tue Aug 22 17:16:53 CEST 2006 Paolo Molaro <lupus@ximian.com>
View
4 ikvm-native/jni.c
@@ -28,7 +28,9 @@
#include <malloc.h>
#define ALLOCA _alloca
#else
-#if !defined(__FreeBSD__) && !defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
+#include <stdlib.h>
+#else
#include <alloca.h>
#endif
#define ALLOCA alloca
Please sign in to comment.
Something went wrong with that request. Please try again.