| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 13c7470 commit af171b7
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -194,14 +194,16 @@ | |||
| 194 | 194 | /* Data type definition of ares_ssize_t. */ | |
| 195 | 195 | #ifdef _WIN32 | |
| 196 | 196 | # ifdef _WIN64 | |
| 197 | - # define CARES_TYPEOF_ARES_SSIZE_T __int64 | ||
| 197 | + typedef __int64 ares_ssize_t; | ||
| 198 | 198 | # else | |
| 199 | - # define CARES_TYPEOF_ARES_SSIZE_T long | ||
| 199 | + typedef long ares_ssize_t; | ||
| 200 | 200 | # endif | |
| 201 | 201 | #else | |
| 202 | - # define CARES_TYPEOF_ARES_SSIZE_T ssize_t; | ||
| 202 | + # ifdef CARES_TYPEOF_ARES_SSIZE_T | ||
| 203 | + typedef CARES_TYPEOF_ARES_SSIZE_T ares_ssize_t; | ||
| 204 | + # else | ||
| 205 | + typedef ssize_t ares_ssize_t; | ||
| 206 | + # endif | ||
| 203 | 207 | #endif | |
| 204 | 208 | ||
| 205 | - typedef CARES_TYPEOF_ARES_SSIZE_T ares_ssize_t; | ||
| 206 | - | ||
| 207 | 209 | #endif /* __CARES_BUILD_H */ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments