From: hackbard Date: Thu, 30 Sep 2004 17:50:41 +0000 (+0000) Subject: another bufsize for macs X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=e418c213bfb28fb03f58ed3e26bbddf6c0113900;p=physik%2Fnlsop.git another bufsize for macs --- diff --git a/random.h b/random.h index a578afb..d8b47e6 100644 --- 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 */