12 lines
367 B
Text
12 lines
367 B
Text
$NetBSD: patch-ab,v 1.1 2009/02/07 23:23:53 joerg Exp $
|
|
|
|
--- common/common.h.orig 2009-02-08 00:05:39.000000000 +0100
|
|
+++ common/common.h
|
|
@@ -81,6 +81,7 @@ typedef enum {
|
|
} ARMY, *PARMY;
|
|
extern char *g_colores[];
|
|
|
|
+#undef RANDOM_MAX
|
|
#define RANDOM_MAX(_min,_max) (_min+(int)(((float)(1+_max-_min))*rand() / (RAND_MAX+1.0)))
|
|
|
|
#define RANDOM_DEVICE "/dev/random"
|