Commit 3c9d77a1 authored by Rafaël Carré's avatar Rafaël Carré

Fix windows builds

parent ceccc197
......@@ -89,6 +89,7 @@ case "${host_os}" in
SYS=mingw32
AC_CHECK_TOOL(WINDRES, windres, :)
AC_DEFINE([_WIN32_WINNT], 0x0501, [Define to '0x0501' for Windows XP APIs.])
AC_DEFINE([_WIN32], 1, [Define to 1 if targetting Windows.])
;;
esac
AM_CONDITIONAL(HAVE_DARWIN, test "${SYS}" = "darwin")
......
......@@ -22,13 +22,13 @@
*****************************************************************************/
#include "config.h"
#include "vlcplugin.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "nporuntime.h"
#include "vlcplugin.h"
char* RuntimeNPObject::stringValue(const NPString &s)
{
......
......@@ -29,6 +29,8 @@
#ifndef __VLCPLUGIN_H__
#define __VLCPLUGIN_H__
#include "config.h"
#include <vlc/vlc.h>
// Setup XP_MACOSX, XP_UNIX, XP_WIN
......
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