[MPlayer-dev-eng] Re: cvs compile issue on osx
Nicolas Plourde
nicolas.plourde at sympatico.ca
Thu Apr 29 18:21:52 CEST 2004
> this is from loader/wine/windef.h which I put in my ms_hdr.h
>
> I use it when compiling my own patched version of CVS
> I have to make a second patch today as the files were changed.
>
> before #include "vd_internal.h" i add
> #include "ms_hdr.h" file.
>
Adding #include "ms_hdr.h" did not help.
> hope this helps you in compiling.
>
> "part of my ms_hdr.h file"
>
> #ifdef STRICT
> typedef void * HANDLE;
> #else
> typedef unsigned int HANDLE;
> #endif
>
> #ifdef STRICT
> #define DECLARE_HANDLE(a) \
> typedef struct a##__ { int unused; } *a; \
> typedef a *P##a; \
> typedef a *LP##a
> #else /*STRICT*/
> #define DECLARE_HANDLE(a) \
> typedef HANDLE a; \
> typedef a *P##a; \
> typedef a *LP##a
> #endif /*STRICT*/
>
> DECLARE_HANDLE(HINSTANCE);
>
> typedef HINSTANCE HMODULE;
>
Added this to vd_qtvideo.c fixed it. What is wrong ?
====
Nicolas Plourde <nicolas.plourde at sympatico.ca>
More information about the MPlayer-dev-eng
mailing list