[MPlayer-dev-eng] Re: cvs compile issue on osx

adland adland123 at yahoo.com
Thu Apr 29 17:44:00 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.

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;





More information about the MPlayer-dev-eng mailing list