diff options
author | Qt by Nokia <qt-info@nokia.com> | 2011-04-27 12:05:43 +0200 |
---|---|---|
committer | axis <qt-info@nokia.com> | 2011-04-27 12:05:43 +0200 |
commit | c4af45c2914381172e1bd7ee528481edaa2fff1a (patch) | |
tree | 01265e109316fda93845e1c96c5e566d870f51d0 /src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCorePrefix.h | |
download | qtscript-c4af45c2914381172e1bd7ee528481edaa2fff1a.tar.gz |
Initial import from the monolithic Qt.
This is the beginning of revision history for this module. If you
want to look at revision history older than this, please refer to the
Qt Git wiki for how to use Git history grafting. At the time of
writing, this wiki is located here:
http://qt.gitorious.org/qt/pages/GitIntroductionWithQt
If you have already performed the grafting and you don't see any
history beyond this commit, try running "git log" with the "--follow"
argument.
Branched from the monolithic repo, Qt master branch, at commit
896db169ea224deb96c59ce8af800d019de63f12
Diffstat (limited to 'src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCorePrefix.h')
-rw-r--r-- | src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCorePrefix.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCorePrefix.h b/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCorePrefix.h new file mode 100644 index 0000000..13b21bb --- /dev/null +++ b/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCorePrefix.h @@ -0,0 +1,35 @@ +#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 |