Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
be8855eb
Kaydet (Commit)
be8855eb
authored
Haz 05, 2013
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some more win64 "fixes"
Change-Id: Id3de720a7ab28499644881e628a18f99121cb3c9
üst
5eab5358
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
33 additions
and
26 deletions
+33
-26
configure.ac
configure.ac
+3
-1
ImplHelper.cxx
dtrans/source/win32/misc/ImplHelper.cxx
+15
-15
npshell.cxx
extensions/source/nsplugin/source/npshell.cxx
+2
-2
so_msg.hxx
extensions/source/nsplugin/source/so_msg.hxx
+4
-0
saltimer.cxx
vcl/win/source/app/saltimer.cxx
+4
-3
salprn.cxx
vcl/win/source/gdi/salprn.cxx
+2
-2
salframe.cxx
vcl/win/source/window/salframe.cxx
+3
-3
No files found.
configure.ac
Dosyayı görüntüle @
be8855eb
...
@@ -3831,19 +3831,21 @@ mingw*)
...
@@ -3831,19 +3831,21 @@ mingw*)
RTL_ARCH=X86_84
RTL_ARCH=X86_84
PLATFORMID=windows_x86_64
PLATFORMID=windows_x86_64
OUTPATH=wntgccx$COMEX
OUTPATH=wntgccx$COMEX
SOLARINC="$SOLARINC -I$SRC_ROOT/include/wntgccx"
else
else
CPU=I
CPU=I
CPUNAME=INTEL
CPUNAME=INTEL
RTL_ARCH=x86
RTL_ARCH=x86
PLATFORMID=windows_x86
PLATFORMID=windows_x86
OUTPATH=wntgcci$COMEX
OUTPATH=wntgcci$COMEX
SOLARINC="$SOLARINC -I$SRC_ROOT/include/wntgcci"
fi
fi
;;
;;
*)
*)
AC_MSG_ERROR([Unsupported host_cpu $host_cpu for host_os $host_os])
AC_MSG_ERROR([Unsupported host_cpu $host_cpu for host_os $host_os])
;;
;;
esac
esac
SOLARINC="$SOLARINC -I$SRC_ROOT/include/wntgcci"
SOLARLIB="-L${SOLARVER}/${OUTPATH}${PROEXT}/lib"
SOLARLIB="-L${SOLARVER}/${OUTPATH}${PROEXT}/lib"
;;
;;
...
...
dtrans/source/win32/misc/ImplHelper.cxx
Dosyayı görüntüle @
be8855eb
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
#if defined _MSC_VER
#if defined _MSC_VER
#pragma warning(pop)
#pragma warning(pop)
#endif
#endif
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
#include <sehandler.hxx>
#include <sehandler.hxx>
#endif
#endif
...
@@ -195,7 +195,7 @@ OUString SAL_CALL cptostr( sal_uInt32 codepage )
...
@@ -195,7 +195,7 @@ OUString SAL_CALL cptostr( sal_uInt32 codepage )
void
SAL_CALL
DeleteTargetDevice
(
DVTARGETDEVICE
*
ptd
)
void
SAL_CALL
DeleteTargetDevice
(
DVTARGETDEVICE
*
ptd
)
{
{
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
jmp_buf
jmpbuf
;
jmp_buf
jmpbuf
;
__SEHandler
han
;
__SEHandler
han
;
if
(
__builtin_setjmp
(
jmpbuf
)
==
0
)
if
(
__builtin_setjmp
(
jmpbuf
)
==
0
)
...
@@ -207,7 +207,7 @@ void SAL_CALL DeleteTargetDevice( DVTARGETDEVICE* ptd )
...
@@ -207,7 +207,7 @@ void SAL_CALL DeleteTargetDevice( DVTARGETDEVICE* ptd )
#endif
#endif
CoTaskMemFree
(
ptd
);
CoTaskMemFree
(
ptd
);
}
}
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
else
else
#else
#else
__except
(
EXCEPTION_EXECUTE_HANDLER
)
__except
(
EXCEPTION_EXECUTE_HANDLER
)
...
@@ -215,7 +215,7 @@ void SAL_CALL DeleteTargetDevice( DVTARGETDEVICE* ptd )
...
@@ -215,7 +215,7 @@ void SAL_CALL DeleteTargetDevice( DVTARGETDEVICE* ptd )
{
{
OSL_FAIL
(
"Error DeleteTargetDevice"
);
OSL_FAIL
(
"Error DeleteTargetDevice"
);
}
}
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
han
.
Reset
();
han
.
Reset
();
#endif
#endif
}
}
...
@@ -244,7 +244,7 @@ DVTARGETDEVICE* SAL_CALL CopyTargetDevice( DVTARGETDEVICE* ptdSrc )
...
@@ -244,7 +244,7 @@ DVTARGETDEVICE* SAL_CALL CopyTargetDevice( DVTARGETDEVICE* ptdSrc )
{
{
DVTARGETDEVICE
*
ptdDest
=
NULL
;
DVTARGETDEVICE
*
ptdDest
=
NULL
;
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
jmp_buf
jmpbuf
;
jmp_buf
jmpbuf
;
__SEHandler
han
;
__SEHandler
han
;
if
(
__builtin_setjmp
(
jmpbuf
)
==
0
)
if
(
__builtin_setjmp
(
jmpbuf
)
==
0
)
...
@@ -260,7 +260,7 @@ DVTARGETDEVICE* SAL_CALL CopyTargetDevice( DVTARGETDEVICE* ptdSrc )
...
@@ -260,7 +260,7 @@ DVTARGETDEVICE* SAL_CALL CopyTargetDevice( DVTARGETDEVICE* ptdSrc )
memcpy
(
ptdDest
,
ptdSrc
,
static_cast
<
size_t
>
(
ptdSrc
->
tdSize
)
);
memcpy
(
ptdDest
,
ptdSrc
,
static_cast
<
size_t
>
(
ptdSrc
->
tdSize
)
);
}
}
}
}
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
han
.
Reset
();
han
.
Reset
();
#else
#else
__except
(
EXCEPTION_EXECUTE_HANDLER
)
__except
(
EXCEPTION_EXECUTE_HANDLER
)
...
@@ -302,7 +302,7 @@ sal_Bool SAL_CALL CopyFormatEtc( LPFORMATETC petcDest, LPFORMATETC petcSrc )
...
@@ -302,7 +302,7 @@ sal_Bool SAL_CALL CopyFormatEtc( LPFORMATETC petcDest, LPFORMATETC petcSrc )
{
{
sal_Bool
bRet
=
sal_False
;
sal_Bool
bRet
=
sal_False
;
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
jmp_buf
jmpbuf
;
jmp_buf
jmpbuf
;
__SEHandler
han
;
__SEHandler
han
;
if
(
__builtin_setjmp
(
jmpbuf
)
==
0
)
if
(
__builtin_setjmp
(
jmpbuf
)
==
0
)
...
@@ -328,7 +328,7 @@ sal_Bool SAL_CALL CopyFormatEtc( LPFORMATETC petcDest, LPFORMATETC petcSrc )
...
@@ -328,7 +328,7 @@ sal_Bool SAL_CALL CopyFormatEtc( LPFORMATETC petcDest, LPFORMATETC petcSrc )
bRet
=
sal_True
;
bRet
=
sal_True
;
}
}
}
}
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
else
else
#else
#else
__except
(
EXCEPTION_EXECUTE_HANDLER
)
__except
(
EXCEPTION_EXECUTE_HANDLER
)
...
@@ -336,7 +336,7 @@ sal_Bool SAL_CALL CopyFormatEtc( LPFORMATETC petcDest, LPFORMATETC petcSrc )
...
@@ -336,7 +336,7 @@ sal_Bool SAL_CALL CopyFormatEtc( LPFORMATETC petcDest, LPFORMATETC petcSrc )
{
{
OSL_FAIL
(
"Error CopyFormatEtc"
);
OSL_FAIL
(
"Error CopyFormatEtc"
);
}
}
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
han
.
Reset
();
han
.
Reset
();
#endif
#endif
...
@@ -355,7 +355,7 @@ sal_Int32 SAL_CALL CompareFormatEtc( const FORMATETC* pFetcLhs, const FORMATETC*
...
@@ -355,7 +355,7 @@ sal_Int32 SAL_CALL CompareFormatEtc( const FORMATETC* pFetcLhs, const FORMATETC*
{
{
sal_Int32
nMatch
=
FORMATETC_EXACT_MATCH
;
sal_Int32
nMatch
=
FORMATETC_EXACT_MATCH
;
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
jmp_buf
jmpbuf
;
jmp_buf
jmpbuf
;
__SEHandler
han
;
__SEHandler
han
;
if
(
__builtin_setjmp
(
jmpbuf
)
==
0
)
if
(
__builtin_setjmp
(
jmpbuf
)
==
0
)
...
@@ -402,7 +402,7 @@ sal_Int32 SAL_CALL CompareFormatEtc( const FORMATETC* pFetcLhs, const FORMATETC*
...
@@ -402,7 +402,7 @@ sal_Int32 SAL_CALL CompareFormatEtc( const FORMATETC* pFetcLhs, const FORMATETC*
}
}
}
}
}
}
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
else
else
#else
#else
__except
(
EXCEPTION_EXECUTE_HANDLER
)
__except
(
EXCEPTION_EXECUTE_HANDLER
)
...
@@ -411,7 +411,7 @@ sal_Int32 SAL_CALL CompareFormatEtc( const FORMATETC* pFetcLhs, const FORMATETC*
...
@@ -411,7 +411,7 @@ sal_Int32 SAL_CALL CompareFormatEtc( const FORMATETC* pFetcLhs, const FORMATETC*
OSL_FAIL
(
"Error CompareFormatEtc"
);
OSL_FAIL
(
"Error CompareFormatEtc"
);
nMatch
=
FORMATETC_NO_MATCH
;
nMatch
=
FORMATETC_NO_MATCH
;
}
}
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
han
.
Reset
();
han
.
Reset
();
#endif
#endif
...
@@ -427,7 +427,7 @@ sal_Bool SAL_CALL CompareTargetDevice( DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE*
...
@@ -427,7 +427,7 @@ sal_Bool SAL_CALL CompareTargetDevice( DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE*
{
{
sal_Bool
bRet
=
sal_False
;
sal_Bool
bRet
=
sal_False
;
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
jmp_buf
jmpbuf
;
jmp_buf
jmpbuf
;
__SEHandler
han
;
__SEHandler
han
;
if
(
__builtin_setjmp
(
jmpbuf
)
==
0
)
if
(
__builtin_setjmp
(
jmpbuf
)
==
0
)
...
@@ -451,7 +451,7 @@ sal_Bool SAL_CALL CompareTargetDevice( DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE*
...
@@ -451,7 +451,7 @@ sal_Bool SAL_CALL CompareTargetDevice( DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE*
if
(
memcmp
(
ptdLeft
,
ptdRight
,
ptdLeft
->
tdSize
)
==
0
)
if
(
memcmp
(
ptdLeft
,
ptdRight
,
ptdLeft
->
tdSize
)
==
0
)
bRet
=
sal_True
;
bRet
=
sal_True
;
}
}
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
else
else
#else
#else
__except
(
EXCEPTION_EXECUTE_HANDLER
)
__except
(
EXCEPTION_EXECUTE_HANDLER
)
...
@@ -460,7 +460,7 @@ sal_Bool SAL_CALL CompareTargetDevice( DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE*
...
@@ -460,7 +460,7 @@ sal_Bool SAL_CALL CompareTargetDevice( DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE*
OSL_FAIL
(
"Error CompareTargetDevice"
);
OSL_FAIL
(
"Error CompareTargetDevice"
);
bRet
=
sal_False
;
bRet
=
sal_False
;
}
}
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
han
.
Reset
();
han
.
Reset
();
#endif
#endif
...
...
extensions/source/nsplugin/source/npshell.cxx
Dosyayı görüntüle @
be8855eb
...
@@ -506,7 +506,7 @@ NPP_New(NPMIMEType pluginType,
...
@@ -506,7 +506,7 @@ NPP_New(NPMIMEType pluginType,
This
->
fWindow
=
(
NPWindow
*
)
NPN_MemAlloc
(
sizeof
(
NPWindow
));
This
->
fWindow
=
(
NPWindow
*
)
NPN_MemAlloc
(
sizeof
(
NPWindow
));
memset
(
This
->
fWindow
,
0
,
sizeof
(
NPWindow
));
memset
(
This
->
fWindow
,
0
,
sizeof
(
NPWindow
));
This
->
fMode
=
mode
;
This
->
fMode
=
mode
;
#endif //end of WNT
#endif //end of WNT
PLUGIN_MSG
msg
;
PLUGIN_MSG
msg
;
memset
((
char
*
)
&
msg
,
0
,
sizeof
(
PLUGIN_MSG
));
memset
((
char
*
)
&
msg
,
0
,
sizeof
(
PLUGIN_MSG
));
msg
.
msg_id
=
SO_NEW_INSTANCE
;
msg
.
msg_id
=
SO_NEW_INSTANCE
;
...
@@ -823,7 +823,7 @@ NPP_StreamAsFile(NPP instance, NPStream *stream, const char* fname)
...
@@ -823,7 +823,7 @@ NPP_StreamAsFile(NPP instance, NPStream *stream, const char* fname)
sprintf
(
msg
.
url
,
"file://%s"
,
localPathNew
);
sprintf
(
msg
.
url
,
"file://%s"
,
localPathNew
);
#endif //end of UNIX
#endif //end of UNIX
#ifdef WNT
#ifdef WNT
msg
.
wnd_id
=
(
int
)(
This
->
fhWnd
);
msg
.
wnd_id
=
(
plugin_Int32
)(
This
->
fhWnd
);
sprintf
(
msg
.
url
,
"file:///%s"
,
localPathNew
);
sprintf
(
msg
.
url
,
"file:///%s"
,
localPathNew
);
DosToUnixPath
(
msg
.
url
);
DosToUnixPath
(
msg
.
url
);
#endif //endof WNT
#endif //endof WNT
...
...
extensions/source/nsplugin/source/so_msg.hxx
Dosyayı görüntüle @
be8855eb
...
@@ -39,7 +39,11 @@ enum msg_type
...
@@ -39,7 +39,11 @@ enum msg_type
SO_PRINT
// 6
SO_PRINT
// 6
};
};
#ifdef _WIN64
#define plugin_Int32 unsigned __int64
#else
#define plugin_Int32 unsigned long int
#define plugin_Int32 unsigned long int
#endif
typedef
struct
_PLUGIN_MSG
{
typedef
struct
_PLUGIN_MSG
{
plugin_Int32
msg_id
;
plugin_Int32
msg_id
;
...
...
vcl/win/source/app/saltimer.cxx
Dosyayı görüntüle @
be8855eb
...
@@ -22,10 +22,11 @@
...
@@ -22,10 +22,11 @@
#include <win/saltimer.h>
#include <win/saltimer.h>
#include <win/salinst.h>
#include <win/salinst.h>
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
#include <sehandler.hxx>
#include <sehandler.hxx>
#endif
#endif
// =======================================================================
// =======================================================================
// Maximale Periode
// Maximale Periode
...
@@ -93,7 +94,7 @@ void WinSalTimer::Stop()
...
@@ -93,7 +94,7 @@ void WinSalTimer::Stop()
void
CALLBACK
SalTimerProc
(
HWND
,
UINT
,
UINT_PTR
nId
,
DWORD
)
void
CALLBACK
SalTimerProc
(
HWND
,
UINT
,
UINT_PTR
nId
,
DWORD
)
{
{
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
jmp_buf
jmpbuf
;
jmp_buf
jmpbuf
;
__SEHandler
han
;
__SEHandler
han
;
if
(
__builtin_setjmp
(
jmpbuf
)
==
0
)
if
(
__builtin_setjmp
(
jmpbuf
)
==
0
)
...
@@ -135,7 +136,7 @@ void CALLBACK SalTimerProc( HWND, UINT, UINT_PTR nId, DWORD )
...
@@ -135,7 +136,7 @@ void CALLBACK SalTimerProc( HWND, UINT, UINT_PTR nId, DWORD )
ImplSalStartTimer
(
10
,
TRUE
);
ImplSalStartTimer
(
10
,
TRUE
);
}
}
}
}
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
han
.
Reset
();
han
.
Reset
();
#else
#else
__except
(
WinSalInstance
::
WorkaroundExceptionHandlingInUSER32Lib
(
GetExceptionCode
(),
GetExceptionInformation
()))
__except
(
WinSalInstance
::
WorkaroundExceptionHandlingInUSER32Lib
(
GetExceptionCode
(),
GetExceptionInformation
()))
...
...
vcl/win/source/gdi/salprn.cxx
Dosyayı görüntüle @
be8855eb
...
@@ -49,11 +49,11 @@
...
@@ -49,11 +49,11 @@
#include <malloc.h>
#include <malloc.h>
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
#include <sehandler.hxx>
#include <sehandler.hxx>
#endif
#endif
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
#define CATCH_DRIVER_EX_BEGIN \
#define CATCH_DRIVER_EX_BEGIN \
jmp_buf jmpbuf; \
jmp_buf jmpbuf; \
__SEHandler han; \
__SEHandler han; \
...
...
vcl/win/source/window/salframe.cxx
Dosyayı görüntüle @
be8855eb
...
@@ -86,7 +86,7 @@ using ::std::max;
...
@@ -86,7 +86,7 @@ using ::std::max;
#include <time.h>
#include <time.h>
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
#include <sehandler.hxx>
#include <sehandler.hxx>
#endif
#endif
...
@@ -6059,7 +6059,7 @@ LRESULT CALLBACK SalFrameWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM l
...
@@ -6059,7 +6059,7 @@ LRESULT CALLBACK SalFrameWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM l
{
{
int
bDef
=
TRUE
;
int
bDef
=
TRUE
;
LRESULT
nRet
=
0
;
LRESULT
nRet
=
0
;
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
jmp_buf
jmpbuf
;
jmp_buf
jmpbuf
;
__SEHandler
han
;
__SEHandler
han
;
if
(
__builtin_setjmp
(
jmpbuf
)
==
0
)
if
(
__builtin_setjmp
(
jmpbuf
)
==
0
)
...
@@ -6071,7 +6071,7 @@ LRESULT CALLBACK SalFrameWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM l
...
@@ -6071,7 +6071,7 @@ LRESULT CALLBACK SalFrameWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM l
#endif
#endif
nRet
=
SalFrameWndProc
(
hWnd
,
nMsg
,
wParam
,
lParam
,
bDef
);
nRet
=
SalFrameWndProc
(
hWnd
,
nMsg
,
wParam
,
lParam
,
bDef
);
}
}
#if
def __MINGW32__
#if
defined ( __MINGW32__ ) && !defined ( _WIN64 )
han
.
Reset
();
han
.
Reset
();
#else
#else
__except
(
WinSalInstance
::
WorkaroundExceptionHandlingInUSER32Lib
(
GetExceptionCode
(),
GetExceptionInformation
()))
__except
(
WinSalInstance
::
WorkaroundExceptionHandlingInUSER32Lib
(
GetExceptionCode
(),
GetExceptionInformation
()))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment