mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-27 22:11:24 -04:00
19 lines
420 B
Plaintext
19 lines
420 B
Plaintext
$NetBSD: patch-af,v 1.1 2009/08/16 21:21:51 wiz Exp $
|
|
|
|
--- src/move.c.orig 2009-06-21 15:15:40.000000000 +0000
|
|
+++ src/move.c
|
|
@@ -63,6 +63,13 @@
|
|
|
|
#include "drive.h"
|
|
|
|
+#ifndef fminf
|
|
+#define fminf(a,b) (((a) < (b)) ? (a) : (b))
|
|
+#endif
|
|
+#ifndef fmaxf
|
|
+#define fmaxf(a,b) (((a) < (b)) ? (b) : (a))
|
|
+#endif
|
|
+
|
|
/* max and min vtol heights above terrain */
|
|
#define VTOL_HEIGHT_MIN 250
|
|
#define VTOL_HEIGHT_LEVEL 300
|