| 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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 #endif | 452 #endif |
| 453 #endif /* !defined(HAVE_ACCESSIBILITY) */ | 453 #endif /* !defined(HAVE_ACCESSIBILITY) */ |
| 454 | 454 |
| 455 #if OS(UNIX) | 455 #if OS(UNIX) |
| 456 #define HAVE_ERRNO_H 1 | 456 #define HAVE_ERRNO_H 1 |
| 457 #define HAVE_MMAP 1 | 457 #define HAVE_MMAP 1 |
| 458 #define HAVE_SIGNAL_H 1 | 458 #define HAVE_SIGNAL_H 1 |
| 459 #define HAVE_STRINGS_H 1 | 459 #define HAVE_STRINGS_H 1 |
| 460 #define HAVE_SYS_PARAM_H 1 | 460 #define HAVE_SYS_PARAM_H 1 |
| 461 #define HAVE_SYS_TIME_H 1 | 461 #define HAVE_SYS_TIME_H 1 |
| 462 #define WTF_USE_OS_RANDOMNESS 1 | |
| 463 #define WTF_USE_PTHREADS 1 | 462 #define WTF_USE_PTHREADS 1 |
| 464 #endif /* OS(UNIX) */ | 463 #endif /* OS(UNIX) */ |
| 465 | 464 |
| 466 #if OS(UNIX) && !OS(ANDROID) | 465 #if OS(UNIX) && !OS(ANDROID) |
| 467 #define HAVE_LANGINFO_H 1 | 466 #define HAVE_LANGINFO_H 1 |
| 468 #endif | 467 #endif |
| 469 | 468 |
| 470 #if (OS(FREEBSD) || OS(OPENBSD)) && !defined(__GLIBC__) | 469 #if (OS(FREEBSD) || OS(OPENBSD)) && !defined(__GLIBC__) |
| 471 #define HAVE_PTHREAD_NP_H 1 | 470 #define HAVE_PTHREAD_NP_H 1 |
| 472 #endif | 471 #endif |
| (...skipping 29 matching lines...) Expand all Loading... |
| 502 #define HAVE_HOSTED_CORE_ANIMATION 1 | 501 #define HAVE_HOSTED_CORE_ANIMATION 1 |
| 503 #define HAVE_MADV_FREE_REUSE 1 | 502 #define HAVE_MADV_FREE_REUSE 1 |
| 504 | 503 |
| 505 #endif /* OS(DARWIN) */ | 504 #endif /* OS(DARWIN) */ |
| 506 | 505 |
| 507 #if OS(WINDOWS) | 506 #if OS(WINDOWS) |
| 508 #define HAVE_SYS_TIMEB_H 1 | 507 #define HAVE_SYS_TIMEB_H 1 |
| 509 #define HAVE_ALIGNED_MALLOC 1 | 508 #define HAVE_ALIGNED_MALLOC 1 |
| 510 #define HAVE_ISDEBUGGERPRESENT 1 | 509 #define HAVE_ISDEBUGGERPRESENT 1 |
| 511 #define HAVE_VIRTUALALLOC 1 | 510 #define HAVE_VIRTUALALLOC 1 |
| 512 #define WTF_USE_OS_RANDOMNESS 1 | |
| 513 #endif | 511 #endif |
| 514 | 512 |
| 515 /* FIXME: When all platforms' compositors can compute their own filter outsets,
we should remove this define. | 513 /* FIXME: When all platforms' compositors can compute their own filter outsets,
we should remove this define. |
| 516 https://bugs.webkit.org/show_bug.cgi?id=112830 */ | 514 https://bugs.webkit.org/show_bug.cgi?id=112830 */ |
| 517 #if USE(CG) | 515 #if USE(CG) |
| 518 #define HAVE_COMPOSITOR_FILTER_OUTSETS 1 | 516 #define HAVE_COMPOSITOR_FILTER_OUTSETS 1 |
| 519 #endif | 517 #endif |
| 520 | 518 |
| 521 #if !defined(WTF_USE_3D_GRAPHICS) | 519 #if !defined(WTF_USE_3D_GRAPHICS) |
| 522 #define WTF_USE_3D_GRAPHICS 1 | 520 #define WTF_USE_3D_GRAPHICS 1 |
| 523 #endif | 521 #endif |
| 524 | 522 |
| 525 #if !defined(ENABLE_THREADING_LIBDISPATCH) && HAVE(DISPATCH_H) | 523 #if !defined(ENABLE_THREADING_LIBDISPATCH) && HAVE(DISPATCH_H) |
| 526 #define ENABLE_THREADING_LIBDISPATCH 1 | 524 #define ENABLE_THREADING_LIBDISPATCH 1 |
| 527 #elif !defined(ENABLE_THREADING_OPENMP) && defined(_OPENMP) | 525 #elif !defined(ENABLE_THREADING_OPENMP) && defined(_OPENMP) |
| 528 #define ENABLE_THREADING_OPENMP 1 | 526 #define ENABLE_THREADING_OPENMP 1 |
| 529 #elif !defined(THREADING_GENERIC) | 527 #elif !defined(THREADING_GENERIC) |
| 530 #define ENABLE_THREADING_GENERIC 1 | 528 #define ENABLE_THREADING_GENERIC 1 |
| 531 #endif | 529 #endif |
| 532 | 530 |
| 533 #endif /* WTF_Platform_h */ | 531 #endif /* WTF_Platform_h */ |
| OLD | NEW |