#include <wtf/Platform.h>
#define MOBILE 0
#ifdef __APPLE__
#define HAVE_FUNC_USLEEP 1
#endif
#if PLATFORM(WIN_OS)
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
#endif
#ifndef WINVER
#define WINVER 0x0500
#endif
#ifndef max
#define max max
#endif
#ifndef min
#define min min
#endif
#if !USE(CURL)
#ifndef _WINSOCKAPI_
#define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h
#endif
#endif
#endif
#if !PLATFORM(SYMBIAN)
#define IMPORT_C
#define EXPORT_C
#endif
#ifdef __cplusplus
#undef new
#undef delete
#include <wtf/FastMalloc.h>
#endif
#if !PLATFORM(QT) && !PLATFORM(WX)
#include <wtf/DisallowCType.h>
#endif
#if PLATFORM(GTK)
#define WTF_USE_NPOBJECT 1
#define WTF_USE_JAVASCRIPTCORE_BINDINGS 1
#endif
#if !COMPILER(MSVC) // can't get this to compile on Visual C++ yet
#define AVOID_STATIC_CONSTRUCTORS 1
#endif
#if PLATFORM(WIN)
#define WTF_USE_JAVASCRIPTCORE_BINDINGS 1
#define WTF_USE_NPOBJECT 1
#define WTF_PLATFORM_CG 1
#undef WTF_PLATFORM_CAIRO
#define WTF_USE_CFNETWORK 1
#undef WTF_USE_WININET
#define WTF_PLATFORM_CF 1
#define WTF_USE_PTHREADS 0
#endif
#define WTF_USE_JAVASCRIPTCORE_BINDINGS 1
#undef WTF_USE_NPOBJECT
#define WTF_USE_NPOBJECT 0
#define roundf(f) ((float)((int)((f) + (f > 0 ? 0.5f : -0.5 ))))
#define lroundf(f) ((long int)((int)((f) + (f > 0 ? 0.5f : -0.5 ))))
#define floorf(f) ((float)((int)(f >= 0 ? f : f + 1.0)))
#define lfloorf(f) ((long int)((int)(f >= 0 ? f : f + 1.0)))
#define ceilf(f) ((float)((int)(f > 0 ? (f) + 1.0 - __FLT_EPSILON__ : f)))
#define lceilf(f) ((long int)((int)(f > 0 ? (f) + 1.0 - __FLT_EPSILON__ : f)))
#if PLATFORM(SYMBIAN)
#define WTF_USE_JAVASCRIPTCORE_BINDINGS 1
#define WTF_USE_NPOBJECT 1
#undef WIN32
#undef _WIN32
#undef AVOID_STATIC_CONSTRUCTORS
#define USE_SYSTEM_MALLOC 1
#define U_HAVE_INT8_T 0
#define U_HAVE_INT16_T 0
#define U_HAVE_INT32_T 0
#define U_HAVE_INT64_T 0
#define U_HAVE_INTTYPES_H 0
#include <stdio.h>
#include <snprintf.h>
#include <limits.h>
#include <wtf/MathExtras.h>
#endif
#if PLATFORM(CG)
#ifndef CGFLOAT_DEFINED
#ifdef __LP64__
typedef double CGFloat;
#else
typedef float CGFloat;
#endif
#define CGFLOAT_DEFINED 1
#endif
#endif
#ifdef BUILDING_ON_TIGER
#undef ENABLE_FTPDIR
#define ENABLE_FTPDIR 0
#endif