Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves 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)
commitc2aa37712a7915c6cdc04350c9cc9fd39228ca84 (patch)
treed3b3d96e04b88c9b9ee488504228549ffed49b7f
parentc31d19c2269bf6f440f1a5283020909c2f483c56 (diff)
fix in non WIN32
-rw-r--r--ChangeLog6
-rw-r--r--src/gcompris/properties.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f8a6a37..5836a0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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));