A little more info that might help: I had to put a hack into two .h
files (libpq.h, libpq-int.h) and add
typedef int ssize_t
to get things to compile. I did notice that libpq-int.h had this
typedef inside an #ifdef WIN32_ONLY_COMPILER which apparently wasn't
triggered.