Mercurial > mplayer.hg
annotate loader/ext.h @ 19883:4e43ba6844d8
Fix stupid use of multiplication to check signs which fails because of
overflow. Negative values do not seem to be used so just remove the
failing test.
author | uau |
---|---|
date | Mon, 18 Sep 2006 14:04:50 +0000 |
parents | 0783dd397f74 |
children | 3baf6a2283da |
rev | line source |
---|---|
15166
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
7386
diff
changeset
|
1 /* |
18783 | 2 * Modified for use with MPlayer, detailed changelog at |
3 * http://svn.mplayerhq.hu/mplayer/trunk/ | |
15166
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
7386
diff
changeset
|
4 * $Id$ |
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
7386
diff
changeset
|
5 */ |
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
7386
diff
changeset
|
6 |
1307
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
diff
changeset
|
7 #ifndef loader_ext_h |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
diff
changeset
|
8 #define loader_ext_h |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
diff
changeset
|
9 |
7386 | 10 #include "wine/windef.h" |
1307
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
diff
changeset
|
11 |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
diff
changeset
|
12 extern LPVOID FILE_dommap( int unix_handle, LPVOID start, |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
diff
changeset
|
13 DWORD size_high, DWORD size_low, |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
diff
changeset
|
14 DWORD offset_high, DWORD offset_low, |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
diff
changeset
|
15 int prot, int flags ); |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
diff
changeset
|
16 extern int FILE_munmap( LPVOID start, DWORD size_high, DWORD size_low ); |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
diff
changeset
|
17 extern int wcsnicmp(const unsigned short* s1, const unsigned short* s2, int n); |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
diff
changeset
|
18 extern int __vprintf( const char *format, ... ); |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
diff
changeset
|
19 |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
diff
changeset
|
20 #endif |