18 lines
431 B
Plaintext
18 lines
431 B
Plaintext
$NetBSD: patch-ah,v 1.1 2006/10/25 23:18:19 dmcmahill Exp $
|
|
|
|
The MAX macro is not defined on all systems (e.g. solaris)
|
|
|
|
--- lib/rtp/rtp.c.orig 2006-03-20 18:08:24.000000000 -0500
|
|
+++ lib/rtp/rtp.c
|
|
@@ -61,6 +61,10 @@
|
|
|
|
#include "rtp.h"
|
|
|
|
+#ifndef MAX
|
|
+#define MAX(a,b) ((a) > (b) ? (a) : (b))
|
|
+#endif
|
|
+
|
|
typedef struct {
|
|
uint32_t key; /* Original allocation number */
|
|
uint32_t size; /* Size of allocation requested */
|