Conditionally compile code which uses XK_EuroSign definition.

This commit is contained in:
Dmitry Timoshkov 2004-04-09 19:06:08 +00:00 committed by Alexandre Julliard
parent eabafe779c
commit 062080d633
1 changed files with 2 additions and 1 deletions

View File

@ -2123,6 +2123,7 @@ INT X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
{ {
BYTE dead_char; BYTE dead_char;
#ifdef XK_EuroSign
/* An ugly hack for EuroSign: X can't translate it to a character /* An ugly hack for EuroSign: X can't translate it to a character
for some locales. */ for some locales. */
if (keysym == XK_EuroSign) if (keysym == XK_EuroSign)
@ -2131,7 +2132,7 @@ INT X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
ret = 1; ret = 1;
goto found; goto found;
} }
#endif
dead_char = KEYBOARD_MapDeadKeysym(keysym); dead_char = KEYBOARD_MapDeadKeysym(keysym);
if (dead_char) if (dead_char)
{ {