Skip to content
JavaScriptCorePrefix.h 756 B
Newer Older
#ifdef __cplusplus
#define NULL __null

#include <ctype.h>
#include <float.h>
#include <locale.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <time.h>
#include <sys/param.h>
#include <sys/time.h>
#include <sys/timeb.h>
mjs's avatar
mjs committed
#include <sys/types.h>

#ifdef __cplusplus
darin's avatar
darin committed

mjs's avatar
mjs committed
#include <list>
#include <typeinfo>
darin's avatar
darin committed

mjs's avatar
mjs committed
#endif
thatcher's avatar
thatcher committed

darin@apple.com's avatar
darin@apple.com committed
#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

weinig's avatar
weinig committed
/* Work around bug with C++ library that screws up Objective-C++ when exception support is disabled. */
thatcher's avatar
thatcher committed
#undef try
#undef catch