[vlc-devel] Re: msvc v6 fixes for src/extras/libc.c

Gildas Bazin gbazin at altern.org
Mon Sep 5 22:07:40 CEST 2005


On Sunday 04 September 2005 14:37, Brian Robb wrote:
> msvc 6 fixes:
> 
> At the top of include/vlc_common.h add:
> 
> #ifndef VLC_COMMON_H
> #define VLC_COMMON_H
> 
> And at the bottom of include/vlc_common.h add:
> 
> #endif // VLC_COMMON_H
> 
> Do the same for msvc/config.h
> 
> #ifndef CONFIG_H
> #define CONFIG_H
> 
> And:
> 
> #endif // CONFIG_H
> 
> Then to src/extras/libc.c add (at around line 32):
> 
> #include <vlc_common.h>
> 
> It'll then compile in msvc v6 :)
> 

I don't understand this one.
vlc_common.h is automatically included by vlc/vlc.h as long as __VLC__ is 
defined... and __VLC__ is defined in msvc/libvlc.dsp.

--
Gildas

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list