Changeset 47751 in webkit for trunk/JavaScriptCore/wtf


Ignore:
Timestamp:
Aug 25, 2009, 11:30:00 AM (16 years ago)
Author:
[email protected]
Message:

PLATFORM(CFNETWORK) should be USE(CFNETWORK).
https://bugs.webkit.org/show_bug.cgi?id=28713

Patch by David Levin <[email protected]> on 2009-08-25
Reviewed by Adam Roben.

JavaScriptCore:

  • wtf/Platform.h: Added a #define to catch this issue in the

future. The define would generate an error on gcc without the
space in the expansion, but Visual C++ needs the space to cause an error.

WebKit/win:

Also, moved the #if header section after the other #includes.

  • WebError.cpp:

(WebError::localizedDescription):

WebKitTools:

  • DumpRenderTree/win/DumpRenderTree.cpp:

(main):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/Platform.h

    r47284 r47751  
    760760#endif
    761761
     762/* Set up a define for a common error that is intended to cause a build error -- thus the space after Error. */
     763#define WTF_PLATFORM_CFNETWORK Error USE_macro_should_be_used_with_CFNETWORK
     764
    762765#endif /* WTF_Platform_h */
Note: See TracChangeset for help on using the changeset viewer.