projects
/
physik
/
nlsop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
098960c
)
another bufsize for macs
author
hackbard
<hackbard>
Thu, 30 Sep 2004 17:50:41 +0000
(17:50 +0000)
committer
hackbard
<hackbard>
Thu, 30 Sep 2004 17:50:41 +0000
(17:50 +0000)
random.h
patch
|
blob
|
history
diff --git
a/random.h
b/random.h
index a578afb39f73dae474a9d7cd9230312699b23de7..d8b47e61c6d2edb1f8319d805e823b3e45fb35b5 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 */