libvirt/examples
Daniel P. Berrangé 11ea62665c examples: fix 64-bit integer formatting on Windows
The Windows printf functions don't support %llu/%lld for printing 64-bit
integers. For most of libvirt this doesn't matter as we rely on gnulib
which provides a replacement printf that is sane.

The example code is designed to compile against the normal OS headers,
with no use of gnulib and thus has to use the platform specific printf.
To deal with this we must use the macros PRI* macros from inttypes.h
to get the platform specific format string.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2019-04-03 11:34:25 +01:00
..
admin examples: fix 64-bit integer formatting on Windows 2019-04-03 11:34:25 +01:00
dominfo Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
dommigrate Drop some useless comparisons and checks 2019-03-07 09:22:47 +01:00
domsuspend examples: Avoid gnulib, have standalone examples 2019-01-08 09:26:51 -06:00
domtop examples: fix 64-bit integer formatting on Windows 2019-04-03 11:34:25 +01:00
hellolibvirt examples: Avoid gnulib, have standalone examples 2019-01-08 09:26:51 -06:00
lxcconvert Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
object-events examples: Work around lack of mingw sigaction() 2019-01-08 14:47:04 -06:00
openauth examples: Avoid gnulib, have standalone examples 2019-01-08 09:26:51 -06:00
polkit examples: Use one top level makefile 2016-01-09 21:14:12 -05:00
rename examples: Avoid gnulib, have standalone examples 2019-01-08 09:26:51 -06:00
systemtap Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
xml examples: Add clean-traffic-gateway into nwfilters 2018-07-18 14:03:47 +02:00
Makefile.am configure: Remove --enable-test-coverage 2019-03-14 20:47:15 -04:00