blob: 0d144975cb020ce1f83746583ca2ddc6a82df849 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
$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"
|