blob: 0141860d5840e45fb01d5743f294206384109f83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ab,v 1.1.1.1 2010/12/17 09:20:53 wiz Exp $
No alloca.h header on NetBSD.
--- src/bullet/src/BulletDynamics/ConstraintSolver/btSorLcp.cpp.orig 2009-10-16 00:43:55.000000000 +0000
+++ src/bullet/src/BulletDynamics/ConstraintSolver/btSorLcp.cpp
@@ -36,7 +36,7 @@ subject to the following restrictions:
#if defined (WIN32)
#include <malloc.h>
#else
-#if defined (__FreeBSD__)
+#if defined (__FreeBSD__) || defined(__NetBSD__)
#include <stdlib.h>
#else
#include <alloca.h>
|