Changeset 45927 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Jul 15, 2009, 11:12:33 AM (16 years ago)
Author:
[email protected]
Message:

2009-07-15 Joe Mason <[email protected]>

Reviewed by George Staikos.

https://bugs.webkit.org/show_bug.cgi?id=27298
Platform defines for WINCE.
Contains changes by Yong Li <[email protected]>,
George Staikos <[email protected]> and Joe Mason <[email protected]>

  • wtf/Platform.h:
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r45924 r45927  
     12009-07-15  Joe Mason  <[email protected]>
     2
     3         Reviewed by George Staikos.
     4
     5         https://bugs.webkit.org/show_bug.cgi?id=27298
     6         Platform defines for WINCE.
     7         Contains changes by Yong Li <[email protected]>,
     8         George Staikos <[email protected]> and Joe Mason <[email protected]>
     9
     10         * wtf/Platform.h:
     11
    1122009-07-15  Yong Li  <[email protected]>
    213
  • trunk/JavaScriptCore/wtf/Platform.h

    r45908 r45927  
    11/*
    22 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc.  All rights reserved.
     3 * Copyright (C) 2007-2009 Torch Mobile, Inc.
    34 *
    45 * Redistribution and use in source and binary forms, with or without
     
    191192/* Makes PLATFORM(WIN) default to PLATFORM(CAIRO) */
    192193/* FIXME: This should be changed from a blacklist to a whitelist */
    193 #if !PLATFORM(MAC) && !PLATFORM(QT) && !PLATFORM(WX) && !PLATFORM(CHROMIUM)
     194#if !PLATFORM(MAC) && !PLATFORM(QT) && !PLATFORM(WX) && !PLATFORM(CHROMIUM) && !PLATFORM(WINCE)
    194195#define WTF_PLATFORM_CAIRO 1
    195196#endif
     
    337338#if (PLATFORM(IPHONE) || PLATFORM(MAC) || PLATFORM(WIN)) && !defined(ENABLE_JSC_MULTIPLE_THREADS)
    338339#define ENABLE_JSC_MULTIPLE_THREADS 1
     340#endif
     341
     342#if PLATFORM(WINCE) && !PLATFORM(QT)
     343#undef ENABLE_JSC_MULTIPLE_THREADS
     344#define ENABLE_JSC_MULTIPLE_THREADS        0
     345#define USE_SYSTEM_MALLOC                  0
     346#define ENABLE_ICONDATABASE                0
     347#define ENABLE_JAVASCRIPT_DEBUGGER         0
     348#define ENABLE_FTPDIR                      0
     349#define ENABLE_PAN_SCROLLING               0
     350#define ENABLE_WML                         1
     351#define HAVE_ACCESSIBILITY                 0
     352
     353#define NOMINMAX       // Windows min and max conflict with standard macros
     354#define NOSHLWAPI      // shlwapi.h not available on WinCe
     355
     356// MSDN documentation says these functions are provided with uspce.lib.  But we cannot find this file.
     357#define __usp10__      // disable "usp10.h"
     358
     359#define _INC_ASSERT    // disable "assert.h"
     360#define assert(x)
     361
    339362#endif
    340363
Note: See TracChangeset for help on using the changeset viewer.