visual studio error fix + warning fix

This commit is contained in:
jacob1 2015-02-25 18:56:50 -05:00
parent 91e871d0ea
commit a422e43beb
2 changed files with 6 additions and 1 deletions

View File

@ -72,6 +72,11 @@
#define PCLOSE close #define PCLOSE close
#endif #endif
#ifdef _MSC_VER
#include <BaseTsd.h> //for SSIZE_T
typedef SSIZE_T ssize_t;
#endif
char * userAgent; char * userAgent;
static int http_up = 0; static int http_up = 0;
static long http_timeout = 15; static long http_timeout = 15;

View File

@ -20,7 +20,7 @@
class Snapshot; class Snapshot;
class SimTool; class SimTool;
class Brush; class Brush;
struct SimulationSample; class SimulationSample;
struct matrix2d; struct matrix2d;
struct vector2d; struct vector2d;