Update guards related to blocks to check whether __BLOCKS__ is defined, rather than...
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Jun 2010 06:37:40 +0000 (06:37 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Jun 2010 06:37:40 +0000 (06:37 +0000)
commitf7b96c53f96d49f31cbed047a146868c1593a972
tree10e5a0f19216d9f8c35d098d2aeca1159b66c8ed
parent6e333f3bdc440539032cb778453b80badd939bd5
Update guards related to blocks to check whether __BLOCKS__ is defined, rather than checking its value.

Rubber-stamped by Maciej Stachowiak.

This matches how similar checks are performed in system headers, and avoids a compile error when __BLOCKS__
is not defined.

* UIProcess/API/C/WKPage.cpp:
* UIProcess/API/C/WKPage.h:
* UIProcess/API/C/WKPagePrivate.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit2/ChangeLog
WebKit2/UIProcess/API/C/WKPage.cpp
WebKit2/UIProcess/API/C/WKPage.h
WebKit2/UIProcess/API/C/WKPagePrivate.h