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

Brian Robb vascy at hotmail.com
Sun Sep 4 15:37:15 CEST 2005


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 :)


-- 
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