add handling for other linux distros

This commit is contained in:
jankes44
2025-12-22 01:38:43 +00:00
parent 5d8bce819c
commit 0fa9a2f46a
9 changed files with 30 additions and 12 deletions

View File

@@ -49,7 +49,9 @@ int thecore_init(int fps, HEARTFUNC heartbeat_func)
srand(time(0));
#else
srandom(time(0) + getpid() + getuid());
#ifdef OS_FREEBSD
srandomdev();
#endif
#endif
log_init();