2012-10-31 01:13:40 +04:00
|
|
|
#ifndef HEXCHAT_TYPEDEF_H
|
|
|
|
#define HEXCHAT_TYPEDEF_H
|
|
|
|
|
|
|
|
#ifdef WIN32
|
|
|
|
|
2011-02-28 20:59:32 +03:00
|
|
|
#ifndef SSIZE_T_DEFINED
|
|
|
|
#ifdef ssize_t
|
|
|
|
#undef ssize_t
|
|
|
|
#endif
|
|
|
|
#ifdef _WIN64
|
|
|
|
typedef __int64 ssize_t;
|
|
|
|
#else
|
|
|
|
typedef _W64 int ssize_t;
|
|
|
|
#endif
|
|
|
|
#define SSIZE_T_DEFINED
|
|
|
|
#endif
|
2012-10-31 01:13:40 +04:00
|
|
|
|
|
|
|
#ifndef fstat
|
|
|
|
#define fstat _fstat
|
|
|
|
#define stat _stat
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|