diff options
-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 |