Changeset 64957 in webkit


Ignore:
Timestamp:
Aug 8, 2010 3:27:23 PM (14 years ago)
Author:
Csaba Osztrogonác
Message:

2010-08-08 Csaba Osztrogonác <Csaba Osztrogonác>

Reviewed by Eric Seidel.

[Qt] Fix warnings in WebCore/platform/WindowsKeyboardCodes.h
https://bugs.webkit.org/show_bug.cgi?id=43360

  • platform/WindowsKeyboardCodes.h: Undef macros which are also defined in MinGW/include/winuser.h to aviod gcc redefinition warning
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r64954 r64957  
     12010-08-08  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [Qt] Fix warnings in WebCore/platform/WindowsKeyboardCodes.h
     6        https://bugs.webkit.org/show_bug.cgi?id=43360
     7
     8        * platform/WindowsKeyboardCodes.h: Undef macros which are also defined in MinGW/include/winuser.h to aviod gcc redefinition warning
     9
    1102010-08-08  James Robinson  <jamesr@chromium.org>
    211
  • trunk/WebCore/platform/WindowsKeyboardCodes.h

    r56704 r64957  
    2727
    2828#define VK_UNKNOWN 0
     29
     30// Undef macros which are also defined in MinGW/include/winuser.h to aviod gcc redefinition warning
     31// https://bugs.webkit.org/show_bug.cgi?id=43360
     32#if COMPILER(MINGW)
     33#undef VK_BACK
     34#undef VK_TAB
     35#undef VK_CLEAR
     36#undef VK_RETURN
     37#undef VK_SHIFT
     38#undef VK_CONTROL
     39#undef VK_MENU
     40#undef VK_PAUSE
     41#undef VK_CAPITAL
     42#undef VK_SPACE
     43#undef VK_PRIOR
     44#undef VK_NEXT
     45#undef VK_END
     46#undef VK_HOME
     47#undef VK_LEFT
     48#undef VK_UP
     49#undef VK_RIGHT
     50#undef VK_DOWN
     51#undef VK_SELECT
     52#undef VK_PRINT
     53#undef VK_EXECUTE
     54#undef VK_SNAPSHOT
     55#undef VK_INSERT
     56#undef VK_DELETE
     57#undef VK_HELP
     58#endif // COMPILER(MINGW)
    2959
    3060// Left mouse button
Note: See TracChangeset for help on using the changeset viewer.