]> granicus.if.org Git - libevent/commit
cmake: Fix detection of ssize_t/SSIZE_T
authorAzat Khuzhin <a3at.mail@gmail.com>
Thu, 7 Jan 2016 14:51:40 +0000 (17:51 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Thu, 7 Jan 2016 17:40:22 +0000 (20:40 +0300)
commit7707f6b03a12430f811a45b352efca57190e69c9
treeda669ffea6634bf8f2af5626661b1ffa21185f62
parent5b58b709b24df6053d5a1aa3f1be3c0eaf31101d
cmake: Fix detection of ssize_t/SSIZE_T

Since ssize_it is POSIX, windows/VS also have this but with BaseTsd.h, plus the
logic prefers "ssize_t" (lower) instead of "SSIZE_T" (upper) when the latest
only available -- fix this too.

Refs: #311
CMakeLists.txt