blob: Use intptr_t instead of ssize_t
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 13 Oct 2017 17:40:45 +0000 (10:40 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 13 Oct 2017 22:02:34 +0000 (15:02 -0700)
commit1cec500c69b7fff50466b17282e83b3c8490c1fa
treef007dcbab2dfe3a957a3550fbf3a4925ffa4a9be
parent77d3d71f23b32550b045b5f74b7a5e6ca54d83c5
blob: Use intptr_t instead of ssize_t

ssize_t is a GNU extension and is not available on Windows or MacOS.
Instead, we use intptr_t which should be effectively equivalent and is
part of the C standard.  This should fix the Windows and Mac OS builds.

Fixes: 3af1c829891a4530682bce113fdd512d4f2de3c6
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103253
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Tested-by: Vinson Lee <vlee@freedesktop.org>
src/compiler/blob.c
src/compiler/blob.h
src/intel/vulkan/anv_pipeline_cache.c