Mercurial > pidgin.yaz
diff src/util.c @ 11361:e4868370c433
[gaim-migrate @ 13585]
cleaning out my tree
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 29 Aug 2005 04:53:17 +0000 |
parents | 237d65590d2b |
children | f9c74bf11ae0 |
line wrap: on
line diff
--- a/src/util.c Sun Aug 28 22:46:01 2005 +0000 +++ b/src/util.c Mon Aug 29 04:53:17 2005 +0000 @@ -1895,6 +1895,9 @@ int gaim_build_dir (const char *path, int mode) { +#if GLIB_CHECK_VERSION(2,8,0) + return g_mkdir_with_parents(path, mode); +#else char *dir, **components, delim[] = { G_DIR_SEPARATOR, '\0' }; int cur, len; @@ -1941,6 +1944,7 @@ g_strfreev(components); g_free(dir); return 0; +#endif } /*