mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-12 06:04:46 -05:00
src: remove virFilePrintf in favour of g_fprintf
The virFilePrintf function was a wrapper for fprintf() to provide Windows portability, since gnulib's fprintf() replacement was license restricted. This is no longer needed now we have the g_fprintf function available. Reviewed-by: Pavel Hrdina <phrdina@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
@@ -30,12 +30,6 @@
|
||||
#define EXIT_AM_SKIP 77 /* tell Automake we're skipping a test */
|
||||
#define EXIT_AM_HARDFAIL 99 /* tell Automake that the framework is broken */
|
||||
|
||||
/* Work around lack of gnulib support for fprintf %z */
|
||||
#ifndef NO_LIBVIRT
|
||||
# undef fprintf
|
||||
# define fprintf virFilePrintf
|
||||
#endif
|
||||
|
||||
/* Makefile.am provides these two definitions */
|
||||
#if !defined(abs_srcdir) || !defined(abs_builddir)
|
||||
# error Fix Makefile.am
|
||||
|
||||
Reference in New Issue
Block a user