Mercurial > mplayer.hg
view loader/win32.h @ 7299:131497b1f6ad
- GCC 3.x (SPARC) is too clever for the double->int conversion trick used in
the WRITE_SAMPLE macro. Use a union instead of a cast to get at the
binary representation of the double's mantissa.
This should fix:
http://mplayerhq.hu/pipermail/mplayer-users/2002-August/018948.html
http://mplayerhq.hu/pipermail/mplayer-users/2002-August/019296.html
http://mplayerhq.hu/pipermail/mplayer-users/2002-September/020348.html
- garbage collect the unused CAN_COMPILE_X86 define
author | jkeil |
---|---|
date | Fri, 06 Sep 2002 17:34:52 +0000 |
parents | 4dad31e655b6 |
children | 174e2a58b4cd |
line wrap: on
line source
#ifndef loader_win32_h #define loader_win32_h #include <time.h> #include <wine/windef.h> #include <wine/winbase.h> #include <com.h> extern void my_garbagecollection(void); typedef struct { UINT uDriverSignature; HINSTANCE hDriverModule; DRIVERPROC DriverProc; DWORD dwDriverID; } DRVR; typedef DRVR *PDRVR; typedef DRVR *NPDRVR; typedef DRVR *LPDRVR; typedef struct tls_s tls_t; extern void* LookupExternal(const char* library, int ordinal); extern void* LookupExternalByName(const char* library, const char* name); extern void* my_mreq(int size, int to_zero); extern int my_release(void* memory); #endif