Age | Commit message (Collapse) | Author |
|
The code is using expicit (mostly W) Windows API, and is independent
from the macro. Removing it here allows to catch places where some
UNICODE-dependent macro is used unintentionally.
Change-Id: I5dff40aecfc3c3dc7fc4cf7271a995a675943a45
Reviewed-on: https://gerrit.libreoffice.org/70237
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
|
|
See https://msdn.microsoft.com/en-us/library/e821azx1.aspx
Some export symbols should be PRIVATE
Also, don't export DLLMain. It is internal function
used by CRT, and not intended to be exported.
Change-Id: I48139b985aa2ee499c2005d8b0d966a2cc6dcd0c
Reviewed-on: https://gerrit.libreoffice.org/20419
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
|
|
... and remove the definitions in makefiles, except in fpicker, which
defines a different value for the Vista file picker.
The WINVER value is derived automatically from _WIN32_WINNT by SDK
header sdkddkver.h.
Change-Id: I73358a9bf5d070f71821654cae2a29335a754a21
|
|
Change-Id: Ib6d9233e8c322fd7165fce8763bb2a4eee9a7850
|
|
* Windows XP SP2 is 0x0502, see
http://msdn.microsoft.com/en-us/library/aa383745.aspx
* If a module changes the Windows SDK version setting,
this is done module wide now. So the overall behavior
is as before. This seems to be the best compromise for
now.
* We need at least SP2 because of the bluetooth stuff
used in sd/source/ui/remotecontrol.
* Now, we require at least Internet Explorer 7.0. IE6
has been outdated for a long time.
* Leave StdAfx.h file definitions, as those are Microsoft
project specific precompiled header files.
* All local definitions of WINVER are removed, because
the global WINVER setting makes them obsolete now.
To the relation of the three macros:
Setting _WIN32_WINNT sets WINVER and NTDDI_VERSION
automatically to the same value as _WIN32_WINNT.
WINVER and NTDDI_VERSION can be set idenpendently each
for itself.
Change-Id: Ibcc12493aae4fcaf7bcfda88be99c1b61bc326cb
Reviewed-on: https://gerrit.libreoffice.org/6496
Reviewed-by: Thorsten Behrens <thb@documentfoundation.org>
Tested-by: Thorsten Behrens <thb@documentfoundation.org>
|
|
Those have no effects with current windows SDKs.
Change-Id: I6fb2f8045fe1fc0ed4beef51dde487b7a7dfdc28
|
|
Because the compiler warns either way.
cl : Command line warning D9025 : overriding ´/D_WIN32_IE=0x0500´ with
´/U_WIN32_IE´
After this change the message what's overwritten gets more
clear to the reader.
Change-Id: I773e7499537aff879f857b9b50ec8afc4005130b
|
|
|
|
expat_utf16 is long gone, so there is no need to fool around with
expat_utf8.
Change-Id: I0dd4a5c4d78805e98913e645cc83d2ab634bcb89
|
|
Thus we can drop that variant completely.
Change-Id: I11a8e40436921219bd6dd4afad4c7907ccb6b84c
|
|
... because it is added automatically by the external expat_utf16.
Change-Id: Ifdad11b275f7074be6f2e92df2e3c30c7097a5b7
|
|
add a new gb_LinkTarget_use_system_win32_libs to abstract different
linker options on MSVC and GCC.
Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
|
|
It causes linker errors like:
libcmt.lib(crt0dat.obj) : error LNK2005: _amsg_exit already defined in msvcrt.lib(MSVCR90.dll)
Change-Id: Ia7d9eec8dcbc9cbeb64f121f95c0b83d192bab20
|
|
It is not possible to use PRIVATE this way.
So, there are still warnings as:
LINK : warning LNK4104: export of symbol 'DllCanUnloadNow' should be PRIVATE
Change-Id: I9f14dd95b611475ef89914270c931a7115f1f5c8
|
|
Change-Id: Ifca9712c2ee28c8e38925150b3e6d0f27195ff1d
|
|
Change-Id: I5ab936c90b596716f92f04d0db46a77a656a758b
|
|
Change-Id: I91a89f9d0bd1eb88a94179f1c1a41bc832599fed
|