Commit 088b3748 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

include: Don't import files in control.idl that aren't imported on Windows.

parent 8d0699e0
...@@ -48,7 +48,11 @@ cpp_quote("#define MAX_PIN_NAME 128") ...@@ -48,7 +48,11 @@ cpp_quote("#define MAX_PIN_NAME 128")
cpp_quote("#define MAX_FILTER_NAME 128") cpp_quote("#define MAX_FILTER_NAME 128")
typedef LONGLONG REFERENCE_TIME; typedef LONGLONG REFERENCE_TIME;
cpp_quote("#ifndef REFTIME_DEFINED")
cpp_quote("#define REFTIME_DEFINED")
typedef DOUBLE REFTIME; typedef DOUBLE REFTIME;
cpp_quote("#endif")
typedef DWORD_PTR HSEMAPHORE; typedef DWORD_PTR HSEMAPHORE;
typedef DWORD_PTR HEVENT; typedef DWORD_PTR HEVENT;
......
...@@ -17,10 +17,7 @@ ...@@ -17,10 +17,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
cpp_quote("#if 0") /* FIXME: these files are not included on Windows */ import "oaidl.idl";
import "shldisp.idl";
import "strmif.idl";
cpp_quote("#endif")
interface IMediaControl; interface IMediaControl;
interface IBasicAudio; interface IBasicAudio;
...@@ -34,6 +31,11 @@ typedef long OAFilterState; ...@@ -34,6 +31,11 @@ typedef long OAFilterState;
typedef LONG_PTR OAHWND; typedef LONG_PTR OAHWND;
typedef LONG_PTR OAEVENT; typedef LONG_PTR OAEVENT;
cpp_quote("#ifndef REFTIME_DEFINED")
cpp_quote("#define REFTIME_DEFINED")
typedef DOUBLE REFTIME;
cpp_quote("#endif")
/***************************************************************************** /*****************************************************************************
* IMediaControl interface * IMediaControl interface
*/ */
......
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