diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-03-13 09:26:42 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-03-13 09:26:42 +0000 |
commit | 502215cf02f913469e562c9d13f3a9c5a465413d (patch) | |
tree | 2eed9ade823231397fd0985f013d7fe1afab05cc /libsylph/utils.h | |
parent | dfad6357498ce8f7c0f051027dec550449c5b143 (diff) |
win32: use CreateHardLink().
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2117 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/utils.h')
-rw-r--r-- | libsylph/utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libsylph/utils.h b/libsylph/utils.h index 25978160..6788c3d6 100644 --- a/libsylph/utils.h +++ b/libsylph/utils.h @@ -67,6 +67,13 @@ gint g_chmod (const gchar *path, #endif /* !GLIB_CHECK_VERSION */ +#ifdef G_OS_UNIX +#define g_link link +#else +gint g_link (const gchar *src, + const gchar *dest); +#endif + /* The AC_CHECK_SIZEOF() in configure fails for some machines. * we provide some fallback values here */ #if !SIZEOF_UNSIGNED_SHORT |