[vlc-devel] [PATCH]Win32 fix raop.c compilation
Michael Hanselmann
public at hansmi.ch
Sat Dec 20 23:38:26 CET 2008
2008/12/20 Kaarlo Räihä <agent_007 at luukku.com>:
> raop.c doesn't compile under Win32. This patch adds strsep function to file itself. strsep should be in somewhere else and currently it is missing from headers when you use Win32. So this patch isn't pretty one, but because I am only interested about Win32 compilation, this is enough for me. (BTW raop.c is only file in VLC that uses strsep function)
I'm the original author of the RAOP plugin.
We could change it to use strtok(), which is part of ISO C90 and more
portable, but cannot handle empty fields (e.g. two separators
together). After looking through the code again it seems an acceptable
solution. I'll send a patch as soon as I find the time to make it.
Regards,
Michael
More information about the vlc-devel
mailing list