summaryrefslogtreecommitdiff
path: root/src/base/shot.h
diff options
context:
space:
mode:
authorscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-14 16:22:35 +0000
committerscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-14 16:22:35 +0000
commitdf56031961a155c6dd01159a37f11ff024f2099b (patch)
treef9c21b7717300a2b4bd366c4566d6ba92f5068a3 /src/base/shot.h
parentf396b551377212846845362ea50c4b9a90308e21 (diff)
- oprava warningu ve win
- uprava cmake pro win - stale hazi 1 chybu pri linkovani - zkuste to hlavne na linuxu aby sme vedeli jestli tam nejsou nejake chyby co sem zanesl do kodu git-svn-id: http://opensvn.csie.org/tuxanci_ng@136 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base/shot.h')
-rw-r--r--src/base/shot.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/base/shot.h b/src/base/shot.h
index 06e1bba..c507976 100644
--- a/src/base/shot.h
+++ b/src/base/shot.h
@@ -8,6 +8,10 @@
#include "tux.h"
#include "arena.h"
+#ifdef __WIN32__
+#define random rand
+#endif
+
#ifndef PUBLIC_SERVER
#include "interface.h"
#endif