Try to fix portability bugs in recent pgbench commits.
authorThomas Munro <tmunro@postgresql.org>
Wed, 10 Mar 2021 07:18:15 +0000 (20:18 +1300)
committerThomas Munro <tmunro@postgresql.org>
Wed, 10 Mar 2021 08:12:11 +0000 (21:12 +1300)
commit68b34b2338f013cb025dea360b37a3b4fc930179
treecc6fa3b6120b405baafda4564e206713676221e8
parent1657b37d7cce5c35e4c1d500f0a2f3736a087d82
Try to fix portability bugs in recent pgbench commits.

1.  pg_time_usec_t needs to be printed with INT64_FORMAT, not %ld, or 32
bit systems complain, per lapwing.

2.  Some Windows compilers didn't like a thread function not marked with
__stdcall, per whelk; let's see if this fixes the problem.
src/bin/pgbench/pgbench.c