OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights reserved. |
3 * Copyright (C) 2007-2009 Torch Mobile, Inc. | 3 * Copyright (C) 2007-2009 Torch Mobile, Inc. |
4 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. | 4 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 /* OS(QNX) - QNX */ | 394 /* OS(QNX) - QNX */ |
395 #if defined(__QNXNTO__) | 395 #if defined(__QNXNTO__) |
396 #define WTF_OS_QNX 1 | 396 #define WTF_OS_QNX 1 |
397 #endif | 397 #endif |
398 | 398 |
399 /* OS(SOLARIS) - Solaris */ | 399 /* OS(SOLARIS) - Solaris */ |
400 #if defined(sun) || defined(__sun) | 400 #if defined(sun) || defined(__sun) |
401 #define WTF_OS_SOLARIS 1 | 401 #define WTF_OS_SOLARIS 1 |
402 #endif | 402 #endif |
403 | 403 |
404 /* OS(WINCE) - Windows CE; note that for this platform OS(WINDOWS) is also defin
ed */ | |
405 #if defined(_WIN32_WCE) | |
406 #define WTF_OS_WINCE 1 | |
407 #endif | |
408 | |
409 /* OS(WINDOWS) - Any version of Windows */ | 404 /* OS(WINDOWS) - Any version of Windows */ |
410 #if defined(WIN32) || defined(_WIN32) | 405 #if defined(WIN32) || defined(_WIN32) |
411 #define WTF_OS_WINDOWS 1 | 406 #define WTF_OS_WINDOWS 1 |
412 #endif | 407 #endif |
413 | 408 |
414 #define WTF_OS_WIN ERROR "USE WINDOWS WITH OS NOT WIN" | 409 #define WTF_OS_WIN ERROR "USE WINDOWS WITH OS NOT WIN" |
415 #define WTF_OS_MAC ERROR "USE MAC_OS_X WITH OS NOT MAC" | 410 #define WTF_OS_MAC ERROR "USE MAC_OS_X WITH OS NOT MAC" |
416 | 411 |
417 /* OS(UNIX) - Any Unix-like system */ | 412 /* OS(UNIX) - Any Unix-like system */ |
418 #if OS(AIX) \ | 413 #if OS(AIX) \ |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 #define ENABLE_THREADING_OPENMP 1 | 554 #define ENABLE_THREADING_OPENMP 1 |
560 #elif !defined(THREADING_GENERIC) | 555 #elif !defined(THREADING_GENERIC) |
561 #define ENABLE_THREADING_GENERIC 1 | 556 #define ENABLE_THREADING_GENERIC 1 |
562 #endif | 557 #endif |
563 | 558 |
564 #if !defined(WTF_USE_ZLIB) | 559 #if !defined(WTF_USE_ZLIB) |
565 #define WTF_USE_ZLIB 1 | 560 #define WTF_USE_ZLIB 1 |
566 #endif | 561 #endif |
567 | 562 |
568 #endif /* WTF_Platform_h */ | 563 #endif /* WTF_Platform_h */ |
OLD | NEW |