| 24 | | |
| 25 | | == Configuring the build == |
| 26 | | You must update the WebCore/config.h file to indicate that you wish to build with Cairo. |
| 27 | | {{{ |
| 28 | | #if PLATFORM(WIN) |
| 29 | | #if 0 |
| 30 | | // Safari-Style build |
| 31 | | #define WTF_PLATFORM_CG 1 |
| 32 | | #undef WTF_PLATFORM_CAIRO |
| 33 | | #define WTF_USE_CFNETWORK 1 |
| 34 | | #undef WTF_USE_CURL |
| 35 | | |
| 36 | | #else |
| 37 | | |
| 38 | | // Cairo-based (all-redistributable) |
| 39 | | #define WTF_PLATFORM_CAIRO 1 |
| 40 | | #undef WTF_PLATFORM_CG |
| 41 | | #define WTF_USE_CURL 1 |
| 42 | | #undef WTF_USE_CFNETWORK |
| 43 | | |
| 44 | | #endif |
| 45 | | |
| 46 | | // These are consistent across both builds |
| 47 | | #undef WTF_USE_WININET |
| 48 | | #define WTF_PLATFORM_CF 1 |
| 49 | | #define WTF_USE_PTHREADS 0 |
| 50 | | #endif |
| 51 | | |
| 52 | | |
| 53 | | #endif |
| 54 | | |
| 55 | | }}} |