[vlc-devel] [PATCH] npapi: Changed files to be compilable by VC.

Rafaël Carré funman at videolan.org
Mon Nov 21 04:42:46 CET 2011

Le Mon, 21 Nov 2011 10:03:39 +0700,
Sergey Radionov <rsatom at gmail.com> a écrit :

> btw, I think macros HAVE_CONFIG_H not needed anymore, at least to me...

Yes it was never needed.
config.h is always present in the source.

We use it in VLC because files can be built outside of VLC build dir.

Some questions:

- Can you comment on npolibvlc.cpp change?

- mingw-w64 also includes npapi.h (I guess mingw32 is just broken), but
gcc fetches npapi.h from the correct path if we give it with -I

- why do you need config.h at all? It only contains the const or not
const prefix for the function which recently changed prototype.


Rafaël Carré

More information about the vlc-devel mailing list