⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 91354 in webkit


Ignore:
Timestamp:
Jul 20, 2011, 4:02:56 AM (15 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] Qt5 Build Fix: Disable the legacy mac assert macros.

This is done in order to prevent collision with the recently
introduced function QSslCertificate::verify() in Qt5.

https://bugs.webkit.org/show_bug.cgi?id=64855

Patch by Pierre Rossi <pierre.rossi@gmail.com> on 2011-07-20
Reviewed by Simon Hausmann.

  • Source/WebKit.pri:
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r91295 r91354  
     12011-07-20  Pierre Rossi  <pierre.rossi@gmail.com>
     2
     3        [Qt] Qt5 Build Fix: Disable the legacy mac assert macros.
     4
     5        This is done in order to prevent collision with the recently
     6        introduced function QSslCertificate::verify() in Qt5.
     7
     8        https://bugs.webkit.org/show_bug.cgi?id=64855
     9
     10        Reviewed by Simon Hausmann.
     11
     12        * Source/WebKit.pri:
     13
    1142011-07-19  Robert Sesek  <rsesek@chromium.org>
    215
  • trunk/Source/WebKit.pri

    r89832 r91354  
    2222    mac:contains(QT_CONFIG, qt_framework):!CONFIG(webkit_no_framework):!build_pass:CONFIG += build_all
    2323}
     24#We don't want verify and other platform macros to pollute the namespace
     25mac: DEFINES += __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0
    2426
    2527CONFIG(standalone_package): DEFINES *= NDEBUG
Note: See TracChangeset for help on using the changeset viewer.