diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-10-15 09:45:50 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-10-15 09:45:50 +0000 |
commit | e15dd966d523731101f70ccf768bba12435a0208 (patch) | |
tree | ae9cb828a24ded2585a41af3f21411523b47897d /Source/JavaScriptCore/JavaScriptCorePrefix.h | |
download | WebKitGtk-tarball-e15dd966d523731101f70ccf768bba12435a0208.tar.gz |
webkitgtk-2.10.2webkitgtk-2.10.2
Diffstat (limited to 'Source/JavaScriptCore/JavaScriptCorePrefix.h')
-rw-r--r-- | Source/JavaScriptCore/JavaScriptCorePrefix.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Source/JavaScriptCore/JavaScriptCorePrefix.h b/Source/JavaScriptCore/JavaScriptCorePrefix.h new file mode 100644 index 000000000..21d620415 --- /dev/null +++ b/Source/JavaScriptCore/JavaScriptCorePrefix.h @@ -0,0 +1,36 @@ +#ifdef __cplusplus +#define NULL __null +#else +#define NULL ((void *)0) +#endif + +#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> +#include <sys/types.h> + +#ifdef __cplusplus + +#include <list> +#include <typeinfo> + +#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 + +/* Work around bug with C++ library that screws up Objective-C++ when exception support is disabled. */ +#undef try +#undef catch + |