15 lines
394 B
Text
15 lines
394 B
Text
$NetBSD: patch-ag,v 1.3 2008/03/15 15:09:54 joerg Exp $
|
|
|
|
--- gnuradio-core/src/lib/general/random.h.orig 2008-03-15 15:34:46.000000000 +0100
|
|
+++ gnuradio-core/src/lib/general/random.h
|
|
@@ -24,8 +24,9 @@
|
|
#define _RANDOM_H_
|
|
|
|
// we use this because some systems (solaris) define RAND_MAX as 32767
|
|
-
|
|
+#ifndef RANDOM_MAX
|
|
static const int RANDOM_MAX = 2147483647;
|
|
+#endif
|
|
|
|
#include <stdlib.h>
|
|
|