From df56031961a155c6dd01159a37f11ff024f2099b Mon Sep 17 00:00:00 2001 From: scarab Date: Mon, 14 Jul 2008 16:22:35 +0000 Subject: - 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 --- src/base/shot.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/base/shot.h') 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 -- cgit v1.2.3