mirror of https://github.com/Cisco-Talos/clamav
json-c 0.17 defines the ssize_t type using a typedef on Windows. We have been setting ssize_t for Windows to a different type using a #define instead of a typedef. We should have been using a typedef since it is a type. However, we must also match the exact type they're setting it to or else the compiler will baulk because the types are different. Note: in C11, it's fine to use typedef the same type more than once, so long as you're defining it the same every time.pull/1007/head
parent
e27a450bf8
commit
95df41b5bf
Loading…
Reference in new issue