JavaScriptCorePrefix.h 756 Bytes
Newer Older
1 2
#ifdef __cplusplus
#define NULL __null
3 4
#else
#define NULL ((void *)0)
5
#endif
6 7 8 9 10 11 12 13 14 15 16 17 18

#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
19 20 21
#include <sys/types.h>

#ifdef __cplusplus
darin's avatar
darin committed
22

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

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

darin@apple.com's avatar
darin@apple.com committed
28 29 30 31 32
#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
33
/* Work around bug with C++ library that screws up Objective-C++ when exception support is disabled. */
thatcher's avatar
thatcher committed
34 35
#undef try
#undef catch
36