Cleanup wtf/Platform.h and config.h files
authorparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Apr 2012 01:09:07 +0000 (01:09 +0000)
committerparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Apr 2012 01:09:07 +0000 (01:09 +0000)
commitd37daa20ffb47e618619a82f2917b8491d6b4e1e
tree6f38b20699a16f37d555817cc3575aa71d36ab03
parent0fe0cf4cb92d0a4df0d0b02cb27b87b079f3408d
Cleanup wtf/Platform.h and config.h files
https://bugs.webkit.org/show_bug.cgi?id=83431

Reviewed by Eric Seidel.

The ENABLE() and USE() macros take care about the case when the flag
isn't defined. So there is no need to define anything with 0.

Also move duplicated code from the config.h files to Platform.h and
merge a few preprocessor commands to make the file more readable.

Source/JavaScriptCore:

* config.h:

Source/WebCore:

* config.h:

Source/WTF:

* config.h:
* wtf/Platform.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/config.h
Source/WTF/ChangeLog
Source/WTF/config.h
Source/WTF/wtf/Platform.h
Source/WebCore/ChangeLog
Source/WebCore/config.h