Removed the _MSC_VER special cases for Visual Studio 2008 and lower.

We no longer support 2008 and lower so these defines will never be used.
This commit is contained in:
Arthur Ice
2013-05-05 16:58:16 -07:00
parent c6ca89907c
commit 23c524812d
20 changed files with 37 additions and 103 deletions
+9 -12
View File
@@ -28,19 +28,16 @@ using namespace std;
// for windows compile
#ifdef _WINDOWS
#define abs64 _abs64
#define snprintf _snprintf
#if (_MSC_VER < 1500)
#define vsnprintf _vsnprintf
#endif
#define strncasecmp _strnicmp
#define strcasecmp _stricmp
#define abs64 _abs64
#define snprintf _snprintf
#define strncasecmp _strnicmp
#define strcasecmp _stricmp
#else
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "../common/unix.h"
#define abs64 abs
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "../common/unix.h"
#define abs64 abs
#endif
extern volatile bool RunLoops;