[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH] stdlib: RAND_MAX



From: Max Reitz <max@xxxxxxxxxx>

+ RAND_MAX hinzugefügt, das braucht die libvorbis auch

Signed-off-by: Max Reitz <max@xxxxxxxxxx>
---
 src/include/stdlib.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/include/stdlib.h b/src/include/stdlib.h
index f5f446e..745d32d 100644
--- a/src/include/stdlib.h
+++ b/src/include/stdlib.h
@@ -35,6 +35,8 @@
 #define EXIT_SUCCESS 0
 #define EXIT_FAILURE 1
 
+#define RAND_MAX 0x7FFFFFFF
+
 /** Maximale laenge eines Multibyte-Zeichens in Bytes */
 #define MB_CUR_MAX 4
 
-- 
1.6.3.3