MSVC - plugin_http - dirent (code change)

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
CryHavoc
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Apr 2004 22:28

MSVC - plugin_http - dirent (code change)

Postby CryHavoc » 31 May 2004 05:39

I tried an MSVC build of plugin_http.dll from the dsp generated by toolbox.

Build failed with numerous errors.

Added code to http.c as follows:

#if (defined( WIN32 ))
# include <time.h>
# include "dirent.h"
# define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR)
#endif

Copied a windows port of dirent.h (no .c file needed) into module/control.

Built clean and seems to run fine (replacing libhttp_plugin.dll).

Tried same test using dirent.h and dirent.c from src/extras. Compiled clean when added to project but did not work at runtime. Didn't look into why.

If this is important to anybody, let me know.

CryHavoc
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Apr 2004 22:28

Postby CryHavoc » 31 May 2004 14:02

FYI on previous post:

Version being used is 0.7.3 svn vlc-trunk


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests