From aa82236dd093743bd2973f8b61127582aaf6e96f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 18 Dec 2005 18:57:13 +0000 Subject: lots of MinGW fixes for RC6 svn path=/trunk/externals/unauthorized/; revision=4250 --- playlist/playlist.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'playlist') diff --git a/playlist/playlist.c b/playlist/playlist.c index d8f7791..b6dde1d 100644 --- a/playlist/playlist.c +++ b/playlist/playlist.c @@ -29,6 +29,8 @@ /* Gang Of Four -- Guns Before Butter */ /* ---------------------------------------------------------------------------- */ +#ifndef _WIN32 /* this object doesn't compile on Windows because of alphasort() */ + #include #include #include @@ -42,11 +44,15 @@ #include "g_canvas.h" #include "t_tk.h" -#ifdef NT +#ifdef _WIN32 #include +#include #else #include #include +#endif + +#ifndef _MSC_VER #include #endif @@ -1017,3 +1023,5 @@ void playlist_setup(void) class_setwidget(playlist_class, &playlist_widgetbehavior); class_sethelpsymbol(playlist_class, gensym("playlist.pd")); } + +#endif /* not _WIN32 */ -- cgit v1.2.1