"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "8e1cae5d668fb809f4470c681562e20aeffceda2"
Unverified Commit 2b862554 authored by Rajas Sambhare's avatar Rajas Sambhare Committed by GitHub
Browse files

Resolve davisking/dlib#2463 (#2492)

* Resolve davisking/dlib#2463

Fixes missing ssize_t definition on Windows

* Define ssize_t only on Windows 64-bit
parent 54af1f85
...@@ -26,6 +26,10 @@ ...@@ -26,6 +26,10 @@
#if defined(_MSC_VER) #if defined(_MSC_VER)
# pragma warning(push) # pragma warning(push)
# pragma warning(disable: 4127) // warning C4127: Conditional expression is constant # pragma warning(disable: 4127) // warning C4127: Conditional expression is constant
#ifdef _WIN64
#include <BaseTsd.h>
using ssize_t = SSIZE_T;
#endif
#endif #endif
/* This will be true on all flat address space platforms and allows us to reduce the /* This will be true on all flat address space platforms and allows us to reduce the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment