summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--2048.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/2048.c b/2048.c
index 9209597..918654c 100644
--- a/2048.c
+++ b/2048.c
@@ -23,16 +23,10 @@
 typedef unsigned uint;
 
 #if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
-#ifndef _DEFAULT_SOURCE
-#define _DEFAULT_SOURCE
-#endif
-#include <features.h>
-#if !(defined(__GLIBC__) && defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 36))
 static inline uint arc4random_uniform(uint upper_bound) {
 	return rand() % upper_bound;
 }
 #endif
-#endif
 
 static uint score;
 static uint grid[4][4];