diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2008-09-28 19:30:22 +0400 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2008-09-28 19:30:22 +0400 |
commit | 67883399232c467e3479a284b79c6855f24faed0 (patch) | |
tree | 18988ed76b2beb44ac31fc202c8b6f0685ef7b8c /src/apps/mplayerc/Ifo.cpp | |
parent | 6fa2920ae68800a0664df3cf965b671494f05f6b (diff) |
CHANGED: LibPNG updated to release 1.2.32 (fix memory leaks)
Fixed compilation error in x64
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@810 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/Ifo.cpp')
-rw-r--r-- | src/apps/mplayerc/Ifo.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/apps/mplayerc/Ifo.cpp b/src/apps/mplayerc/Ifo.cpp index 1bfed9cc7..83565cc16 100644 --- a/src/apps/mplayerc/Ifo.cpp +++ b/src/apps/mplayerc/Ifo.cpp @@ -70,7 +70,12 @@ #define IFO_HDR_LEN 8
#define LU_SUB_LEN 8
-extern HANDLE WINAPI Real_CreateFileW(LPCWSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
+#ifdef _WIN64
+ // TODO : remove this when trampoline available in x64...
+ #define Real_CreateFileW CreateFileW
+#else
+ extern HANDLE WINAPI Real_CreateFileW(LPCWSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
+#endif
unsigned __int32 get4bytes (const BYTE* buf)
|