another bufsize for macs
authorhackbard <hackbard>
Thu, 30 Sep 2004 17:50:41 +0000 (17:50 +0000)
committerhackbard <hackbard>
Thu, 30 Sep 2004 17:50:41 +0000 (17:50 +0000)
random.h

index a578afb..d8b47e6 100644 (file)
--- a/random.h
+++ b/random.h
@@ -19,7 +19,11 @@ u32 get_rand(u32 max);
 u32 get_rand_lgp(u32 max,double a,double b);
 u32 get_rand_reject(u32 max_x,u32 max_y,u32 *graph);
 
-#define BUFSIZE (16*1048576) /* 64 MByte */
+#ifdef MAC
+#define BUFSIZE (256*1048576) /* 256 MByte */
+#else
+#define BUFSIZE (16*1048576) /* 16 MByte */
+#endif
 #define URAND_MAX 0xffffffff
 
 #endif /* RANDOM_H */