diff options
author | jstebbins <[email protected]> | 2009-10-28 22:48:32 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-10-28 22:48:32 +0000 |
commit | 8e49cf146047a3b004ac6e0afd36a91dcc4cb901 (patch) | |
tree | 170981b8c911f815e25103af036330f0baa437e6 /gtk | |
parent | 0beea80199a0bb95aebc6f4b09c50faad7531b68 (diff) |
LinGui: mingw doesn't have lockf, ifdef out queue file locking for mingw
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2898 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/presets.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/src/presets.c b/gtk/src/presets.c index 75354b165..fe6493dff 100644 --- a/gtk/src/presets.c +++ b/gtk/src/presets.c @@ -1119,6 +1119,7 @@ load_plist(const gchar *name) gboolean ghb_lock_file(const gchar *name) { +#if !defined(_WIN32) gchar *config, *path; int fd, lock = 0; @@ -1132,6 +1133,9 @@ ghb_lock_file(const gchar *name) g_free(config); g_free(path); return !lock; +#else + return 1; +#endif } static void |