Changeset 106295 in webkit


Ignore:
Timestamp:
Jan 30, 2012 3:35:01 PM (12 years ago)
Author:
levin@chromium.org
Message:

Using OS(WIN) or OS(MAC) should cause a build error.
https://bugs.webkit.org/show_bug.cgi?id=77162

Reviewed by Darin Adler.

  • wtf/Platform.h: Expand them into something that will cause a compile error.
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r106290 r106295  
     12012-01-30  David Levin  <levin@chromium.org>
     2
     3        Using OS(WIN) or OS(MAC) should cause a build error.
     4        https://bugs.webkit.org/show_bug.cgi?id=77162
     5
     6        Reviewed by Darin Adler.
     7
     8        * wtf/Platform.h: Expand them into something that will
     9         cause a compile error.
     10
    1112012-01-30  Yong Li  <yoli@rim.com>
    212
  • trunk/Source/JavaScriptCore/wtf/Platform.h

    r106290 r106295  
    387387#endif
    388388
     389#define WTF_OS_WIN ERROR "USE WINDOWS WITH OS NOT WIN"
     390#define WTF_OS_MAC ERROR "USE MAC_OS_X WITH OS NOT MAC"
     391
    389392/* OS(UNIX) - Any Unix-like system */
    390393#if   OS(AIX)              \
Note: See TracChangeset for help on using the changeset viewer.