aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libidn/win/unistd.h
blob: a0351cff2b8166daa3166228daee94cd13aa34ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _LIBIDN_WIN_UNISTD_H
#define _LIBIDN_WIN_UNISTD_H

#ifndef _SSIZE_T_DEFINED
#  if defined(_WIN64)
#    define _SSIZE_T_DEFINED
#    define ssize_t __int64
#  else
#    define _SSIZE_T_DEFINED
#    define ssize_t int
#  endif
#endif

#endif // _LIBIDN_WIN_UNISTD_H