diff options
author | Yves Combe <ycombe@src.gnome.org> | 2006-10-24 05:14:27 (GMT) |
---|---|---|
committer | Yves Combe <ycombe@src.gnome.org> | 2006-10-24 05:14:27 (GMT) |
commit | c2aa37712a7915c6cdc04350c9cc9fd39228ca84 (patch) | |
tree | d3b3d96e04b88c9b9ee488504228549ffed49b7f | |
parent | c31d19c2269bf6f440f1a5283020909c2f483c56 (diff) |
fix in non WIN32
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/gcompris/properties.c | 4 |
2 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2006-10-24 Yves Combe <yves@ycombe.net> + Fix in non WIN32. + + * src/gcompris/properties.c: (gc_prop_new): + +2006-10-24 Yves Combe <yves@ycombe.net> + autotools croos compilation with mingw32 use glib headers instead of glibc (g_mkdir, g_unlink, g_stat) NEED MORE WORK. cvs maybe broken now. diff --git a/src/gcompris/properties.c b/src/gcompris/properties.c index f4953b5..17a1979 100644 --- a/src/gcompris/properties.c +++ b/src/gcompris/properties.c @@ -128,7 +128,9 @@ gc_prop_new () GScanner *scanner; int filefd; gchar *full_rootdir; - //const gchar *locale; +#ifndef WIN32 + const gchar *locale; +#endif gchar *user_dir; tmp = (GcomprisProperties *) malloc (sizeof (GcomprisProperties)); |