Fix glib28 utils on non-win32 system.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15447 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton 2007-01-28 06:19:45 +00:00
parent bcdc4e3635
commit 0927d97115
2 changed files with 8 additions and 3 deletions

View File

@ -1,8 +1,12 @@
noinst_LTLIBRARIES = libgnc-glib.la
DUMMYSRCS = dummy.c
REALSRCS = gfileutils-2.8.c gwin32-2.8.c
REALHDRS = gfileutils-2.8.h gstdio-2.8.h gwin32-2.8.h
REALSRCS = gfileutils-2.8.c
REALHDRS = gfileutils-2.8.h
if PLATFORM_WIN32
REALSRCS += gwin32-2.8.c
REALHDRS += gstdio-2.8.h gwin32-2.8.h
endif
if HAVE_GLIB_2_8
libgnc_glib_la_SOURCES = ${DUMMYSRCS}

View File

@ -23,6 +23,7 @@
#include "config.h"
#include <glib.h>
#include "gfileutils-2.8.h"
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
@ -55,7 +56,7 @@
#endif
#include <glib/gstdio.h>
#define _(String) (String)
static gboolean
rename_file (const char *old_name,