mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Now netcode branch may be compiled with gcc. Sorry can't check build with MSVC
This commit is contained in:
@@ -15,7 +15,12 @@
|
||||
#include <queue>
|
||||
#include <sstream>
|
||||
|
||||
#ifndef __GNUC__
|
||||
const double M_PI = 3.14159265358979323846;
|
||||
#else
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <cmath>
|
||||
#endif
|
||||
|
||||
extern SDL_Surface * screen;
|
||||
extern TTF_Font * GEOR13;
|
||||
|
||||
Reference in New Issue
Block a user