[PATCH] dinput: Mark internal symbols as hidden visibility

Marcus Meissner marcus at jet.franken.de
Tue May 17 01:51:23 CDT 2011


On Mon, May 16, 2011 at 08:26:08PM -0600, Vitaliy Margolen wrote:
> On 05/13/2011 08:51 AM, Marcus Meissner wrote:
> >-const DIDATAFORMAT c_dfDIJoystick = {
> >+DECLSPEC_HIDDEN const DIDATAFORMAT c_dfDIJoystick = {
> 
> >-const DIDATAFORMAT c_dfDIJoystick2 = {
> >+DECLSPEC_HIDDEN const DIDATAFORMAT c_dfDIJoystick2 = {
> 
> >-const DIDATAFORMAT c_dfDIMouse = {
> >+DECLSPEC_HIDDEN const DIDATAFORMAT c_dfDIMouse = {
> 
> >-const DIDATAFORMAT c_dfDIMouse2 = {
> >+DECLSPEC_HIDDEN const DIDATAFORMAT c_dfDIMouse2 = {
> 
> >-const DIDATAFORMAT c_dfDIKeyboard = {
> >+DECLSPEC_HIDDEN const DIDATAFORMAT c_dfDIKeyboard = {
> 
> These are public exports see include/dinput.h:1988.

However, they are not exported via the .spec file, so they
will not get visible...

How should they be exported? Is there a static library in Windows?

Ciao, Marcus



More information about the wine-devel mailing list