diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-02-05 04:33:05 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-02-05 04:33:05 +0000 |
commit | 5a42d2eb913724690db6a99d3cbf5c073376751f (patch) | |
tree | 3e76415aa543de6ed947d8870f8a45bde51e1d26 | |
parent | 78935e0f0c5a728d85cf5cdd47c12cf5019bea75 (diff) |
add fake srand48() and drand48() on Windows/MinGW since it doesn't have them
svn path=/trunk/externals/chaos/; revision=15950
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,8 +32,8 @@ EXTRA_DIST = chaos.ncb chaos.sln chaos.suo chaos.vcproj Makefile.nt # #------------------------------------------------------------------------------# -ALL_CFLAGS = -I"$(PD_INCLUDE)" -ALL_LDFLAGS = +ALL_CFLAGS = -I"$(PD_INCLUDE)" -D'srand48(n)=srand((n))' -D'drand48()=((double)rand()/RAND_MAX)' +ALL_LDFLAGS = SHARED_LDFLAGS = ALL_LIBS = |