aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist.c')
-rw-r--r--src/playlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 7e1465ba3..59a2a0dee 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -517,6 +517,7 @@ static void clearPlayerQueue(void)
pc_cancel();
}
+#ifndef WIN32
enum playlist_result
playlist_append_file(const char *path, int uid, unsigned *added_id)
{
@@ -542,6 +543,7 @@ playlist_append_file(const char *path, int uid, unsigned *added_id)
return addSongToPlaylist(song, added_id);
}
+#endif
static struct song *
song_by_url(const char *url)