Changeset 206027 in webkit


Ignore:
Timestamp:
Sep 16, 2016 9:40:43 AM (8 years ago)
Author:
pvollan@apple.com
Message:

[Win] Compile fix.
https://bugs.webkit.org/show_bug.cgi?id=162059

Reviewed by Alex Christensen.

If an include file exists in two places in the include paths, we can end up including the file twice,
since #pragma once will not protect us against this.

  • PlatformWin.cmake: Put WebCore forwarding folder first in include list.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r206026 r206027  
     12016-09-16  Per Arne Vollan  <pvollan@apple.com>
     2
     3        [Win] Compile fix.
     4        https://bugs.webkit.org/show_bug.cgi?id=162059
     5
     6        Reviewed by Alex Christensen.
     7
     8        If an include file exists in two places in the include paths, we can end up including the file twice,
     9        since #pragma once will not protect us against this.
     10
     11        * PlatformWin.cmake: Put WebCore forwarding folder first in include list.
     12
    1132016-09-16  Chris Dumez  <cdumez@apple.com>
    214
  • trunk/Source/WebCore/PlatformWin.cmake

    r205871 r206027  
    22
    33list(APPEND WebCore_INCLUDE_DIRECTORIES
     4    "${WEBCORE_DIR}/ForwardingHeaders"
    45    "${CMAKE_BINARY_DIR}/../include/private"
    56    "${CMAKE_BINARY_DIR}/../include/private/JavaScriptCore"
     
    2526    "${DERIVED_SOURCES_DIR}/ForwardingHeaders/JavaScriptCore/yarr"
    2627    "${DERIVED_SOURCES_DIR}/ForwardingHeaders/WTF"
    27     "${WEBCORE_DIR}/ForwardingHeaders"
    2828    "${WEBCORE_DIR}/accessibility/win"
    2929    "${WEBCORE_DIR}/page/win"
Note: See TracChangeset for help on using the changeset viewer.