mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
bcdc4e3635
commit
0927d97115
@ -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}
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user