#include <wtf/Platform.h>
#define _DONT_USE_CTYPE_INLINE_
#if defined(__APPLE__)
#ifdef __cplusplus
#define NULL __null
#else
#define NULL ((void *)0)
#endif
#endif
#if defined(WIN32) || defined(_WIN32)
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
#endif
#ifndef WINVER
#define WINVER 0x0500
#endif
#ifndef _WINSOCKAPI_
#define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h
#endif
#ifdef __cplusplus
#define max max
#define min min
#endif
#endif // defined(WIN32) || defined(_WIN32)
#include <sys/types.h>
#include <fcntl.h>
#include <pthread.h>
#if defined(__APPLE__)
#include <regex.h>
#endif
#include <setjmp.h>
#include <signal.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#if defined(__APPLE__)
#include <unistd.h>
#endif
#ifdef __cplusplus
#include <algorithm>
#include <cstddef>
#include <new>
#endif
#include <sys/types.h>
#if defined(__APPLE__)
#include <sys/param.h>
#endif
#include <sys/stat.h>
#if defined(__APPLE__)
#include <sys/time.h>
#include <sys/resource.h>
#endif
#include <time.h>
#include <CoreFoundation/CoreFoundation.h>
#include <AvailabilityMacros.h>
#if defined(__APPLE__)
#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4
#define BUILDING_ON_TIGER 1
#endif
#endif
#ifdef __OBJC__
#import "WKTypes.h"
#import "WAKAppKitStubs.h"
#import "WebCoreThreadMessage.h"
#endif
#ifdef __cplusplus
#define new ("if you use new/delete make sure to include config.h at the top of the file"())
#define delete ("if you use new/delete make sure to include config.h at the top of the file"())
#endif
#if defined(__APPLE__)
#undef try
#undef catch
#endif