[PD-cvs] externals/unauthorized/playlist playlist.c,1.10,1.11

Hans-Christoph Steiner eighthave at users.sourceforge.net
Sun Dec 18 19:55:11 CET 2005


Update of /cvsroot/pure-data/externals/unauthorized/playlist
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19030/playlist

Modified Files:
	playlist.c 
Log Message:
lots of MinGW fixes for RC6

Index: playlist.c
===================================================================
RCS file: /cvsroot/pure-data/externals/unauthorized/playlist/playlist.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** playlist.c	17 Nov 2005 19:20:52 -0000	1.10
--- playlist.c	18 Dec 2005 18:55:09 -0000	1.11
***************
*** 30,33 ****
--- 30,35 ----
  /* ---------------------------------------------------------------------------- */  
  
+ #ifndef _WIN32 /* this object doesn't compile on Windows because of alphasort() */
+ 
  #include <stdlib.h>
  #include <string.h>
***************
*** 43,51 ****
  #include "t_tk.h"
  
! #ifdef NT
  #include <io.h>
  #else
  #include <unistd.h>
  #include <sys/types.h>
  #include <dirent.h>
  #endif
--- 45,57 ----
  #include "t_tk.h"
  
! #ifdef _WIN32
  #include <io.h>
+ #include <pthread.h>
  #else
  #include <unistd.h>
  #include <sys/types.h>
+ #endif
+ 
+ #ifndef _MSC_VER
  #include <dirent.h>
  #endif
***************
*** 1018,1019 ****
--- 1024,1027 ----
      class_sethelpsymbol(playlist_class, gensym("playlist.pd"));
  }
+ 
+ #endif /* not _WIN32 */





More information about the Pd-cvs mailing list