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

This commit is contained in:
Rob Shearman 2008-06-25 18:29:06 +01:00 committed by Alexandre Julliard
parent 8d0699e03b
commit 088b3748d4
2 changed files with 10 additions and 4 deletions

View File

@ -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;

View File

@ -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;
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
*/ */