1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

- gcc compile fixes

- fixed locale issue
- Makefiles for StupidAI
- fix for #671 (not tested)
- linux readme update, including #598
This commit is contained in:
Ivan Savenko
2011-02-28 15:14:26 +00:00
parent 23d0221611
commit a2f512813f
13 changed files with 691 additions and 51 deletions

View File

@@ -1,6 +1,10 @@
#include "stdafx.h"
#include "StupidAI.h"
#ifdef __GNUC__
#define strcpy_s(a, b, c) strncpy(a, c, b)
#endif
const char *g_cszAiName = "Stupid AI 0.1";
extern "C" DLL_F_EXPORT int GetGlobalAiVersion()