mirror of
https://github.com/simh/simh.git
synced 2026-04-15 08:01:30 +00:00
SCP: Enable use of local rand() and scrand() implementation
This commit is contained in:
4
scp.h
4
scp.h
@@ -236,7 +236,9 @@ int sim_rand (void);
|
||||
#ifdef RAND_MAX
|
||||
#undef RAND_MAX
|
||||
#endif
|
||||
#define RAND_MAX 32767
|
||||
#define RAND_MAX 2147483646
|
||||
#define rand sim_rand
|
||||
#define srand(seed) sim_srand(seed)
|
||||
CONST char *get_sim_opt (int32 opt, CONST char *cptr, t_stat *st);
|
||||
CONST char *get_sim_sw (CONST char *cptr);
|
||||
const char *put_switches (char *buf, size_t bufsize, uint32 sw);
|
||||
|
||||
Reference in New Issue
Block a user