scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 12bc42f2e91cedef45f2014cec08ae94264ccdb1
parent 97a6e644d22b794481c4085e844af427b04e0631
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue,  5 Dec 2017 02:29:44 +0100

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

Diffstat:
Mlib/c/src/rand.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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;