Add jrand48()/nrand48() compat functions

These functions are not available on all platforms.
This commit is contained in:
Romain Vimont
2023-01-21 19:35:04 +01:00
parent e6cd42355b
commit 059ec45f82
3 changed files with 54 additions and 0 deletions

View File

@@ -59,4 +59,12 @@ int asprintf(char **strp, const char *fmt, ...);
int vasprintf(char **strp, const char *fmt, va_list ap);
#endif
#ifndef HAVE_NRAND48
long nrand48(unsigned short xsubi[3]);
#endif
#ifndef HAVE_JRAND48
long jrand48(unsigned short xsubi[3]);
#endif
#endif