summary refs log tree commit diff
path: root/freecell.c
diff options
context:
space:
mode:
authorLain Iwakura <lain@lainmail.xyz>2026-01-04 14:12:13 +0300
committerLain Iwakura <lain@lainmail.xyz>2026-01-04 14:12:13 +0300
commit6b952069e917c28f6c9fb5266a83766840e81533 (patch)
tree7a941abeb1472833ee7264c35140fda89e95e61f /freecell.c
parentfeat(linux): some patches (diff)
downloadplay-6b952069e917c28f6c9fb5266a83766840e81533.tar.gz
play-6b952069e917c28f6c9fb5266a83766840e81533.zip
feat(linux): some patches
Diffstat (limited to 'freecell.c')
-rw-r--r--freecell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/freecell.c b/freecell.c
index a97e3b3..c543bda 100644
--- a/freecell.c
+++ b/freecell.c
@@ -30,7 +30,7 @@
 
 typedef unsigned uint;
 
-#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
+#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && (!defined(__GLIBC__) || !__GLIBC_PREREQ(2, 36))
 static uint arc4random_uniform(uint upper_bound) {
 	return rand() % upper_bound;
 }