mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-05 16:25:39 +00:00
be consistent about ssize_t
This commit is contained in:
1 parent
b0e8ed68ba
commit
11a9adb19f
3 files changed
+26
-25
No files matched your search
@@ -0,0 +1,11 @@
|
||||
#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
|
||||
Reference in new issue
Block a user