Commit 3272e0dc authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix compilation on Win32

parent c47b7554
......@@ -25,7 +25,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include "vlcplugin.h"
#include "events.h"
......
......@@ -58,11 +58,13 @@
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
// Include stdint before NP*.h
#include <stdint.h>
// We use <npfunctions.h> insted of including <npapi.h>
// To avoid using Microsoft SDK (rather then from Mozilla SDK),
#include <npfunctions.h>
#include <stdint.h>
#if (((NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR) < 20)
typedef uint16 NPuint16_t;
typedef int16 NPint16_t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment