shithub: scc

Download patch

ref: c59e92237fe2e058833fe5744c39ee77325f7d31
parent: 2498b06cc6ad53a64940ad714e3feb3fed88f12d
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Dec 4 21:29:44 EST 2017

[lib/c] Protect srand() from macro definitions

--- a/lib/c/src/rand.c
+++ b/lib/c/src/rand.c
@@ -1,5 +1,6 @@
 #include <stdlib.h>
 #undef rand
+#undef srand
 
 static int next;