Eliminate even more warnings and bump warning level to 3

Shouldn't need to go any higher, level 4+ gives insane warnings
This commit is contained in:
Berke Viktor
2012-10-30 22:13:40 +01:00
parent cb0f6c8c91
commit ea0d3059f4
11 changed files with 28 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
#ifndef HEXCHAT_TYPEDEF_H
#define HEXCHAT_TYPEDEF_H
#ifdef WIN32
#ifndef SSIZE_T_DEFINED
#ifdef ssize_t
#undef ssize_t
@@ -9,3 +14,12 @@ typedef _W64 int ssize_t;
#endif
#define SSIZE_T_DEFINED
#endif
#ifndef fstat
#define fstat _fstat
#define stat _stat
#endif
#endif
#endif