]> xenbits.xensource.com Git - libvirt.git/commit
Fix domain events C example on Win32
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 29 Mar 2011 10:26:55 +0000 (11:26 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 31 Mar 2011 15:01:49 +0000 (16:01 +0100)
commit242195425c03779ef42059e72a92f0e0be7c46cb
tree496eb3afded0d8de7ba7e2534d6a71e87a8aac9f
parent6c9e89bbd2ff78fdbf0a6e7ba88d604b2da655c8
Fix domain events C example on Win32

printf on Win32 does not necessarily support %lld and we don't
have GNULIBs wrapper for printf(). Switch to use asprintf() for
which we do have a gnulib wrapper with %lld support

* examples/domain-events/events-c/event-test.c: Fix formatting
  of %lld on Win32
* cfg.mk: Don't require use of virAsprintf since this is an
  example app for out of tree users to follow
cfg.mk
examples/domain-events/events-c/event-test.c