summaryrefslogtreecommitdiff
path: root/sal/systools/win32/uwinapi/FindFirstVolumeMountPointA.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sal/systools/win32/uwinapi/FindFirstVolumeMountPointA.cpp')
-rw-r--r--sal/systools/win32/uwinapi/FindFirstVolumeMountPointA.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/sal/systools/win32/uwinapi/FindFirstVolumeMountPointA.cpp b/sal/systools/win32/uwinapi/FindFirstVolumeMountPointA.cpp
index 2aa99e317367..4f48be335855 100644
--- a/sal/systools/win32/uwinapi/FindFirstVolumeMountPointA.cpp
+++ b/sal/systools/win32/uwinapi/FindFirstVolumeMountPointA.cpp
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: FindFirstVolumeMountPointA.cpp,v $
- * $Revision: 1.6 $
+ * $Revision: 1.6.38.2 $
*
* This file is part of OpenOffice.org.
*
@@ -28,7 +28,11 @@
*
************************************************************************/
#include "macros.h"
+#ifdef __MINGW32__
+DEFINE_DEFAULT_THUNK( kernel32, TRYLOAD, HANDLE, WINAPI, FindFirstVolumeMountPointA, (LPSTR lpszRootPathName, LPSTR lpszVolumeMountPoint, DWORD cchBufferLength) )
+#else
DEFINE_DEFAULT_THUNK( kernel32, TRYLOAD, HANDLE, WINAPI, FindFirstVolumeMountPointA, (LPCSTR lpszRootPathName, LPSTR lpszVolumeMountPoint, DWORD cchBufferLength) )
+#endif
/*
extern "C" _declspec( dllexport ) FARPROC kernel32_FindFirstVolumeMountPointA_Ptr;
static HANDLE __stdcall FindFirstVolumeMountPointA_Failure (LPSTR lpszRootPathName, LPSTR lpszVolumeMountPoint, DWORD cchBufferLength);
@@ -47,4 +51,4 @@ extern "C" _declspec( naked ) HANDLE __stdcall FindFirstVolumeMountPointA (LPCST
extern "C" _declspec( dllexport ) FARPROC kernel32_FindFirstVolumeMountPointA_Ptr = (FARPROC)FindFirstVolumeMountPointA_Thunk;
static HANDLE __stdcall FindFirstVolumeMountPointA_Failure (LPSTR lpszRootPathName, LPSTR lpszVolumeMountPoint, DWORD cchBufferLength)
{ SetLastError( 120L ); return (HANDLE)0; }
-*/ \ No newline at end of file
+*/