source: webkit/trunk/JavaScriptCore/kjs/config.h@ 12908

Last change on this file since 12908 was 12305, checked in by staikos, 19 years ago

Reviewed by Maciej and Darin.

  • kxmlcore/Assertions.h: This file only works with APPLE right now
  • kjs/interpreter.cpp: ditto
  • kjs/simple_number.h: Add assert.h and remove from config.h
  • kjs/array_object.cpp: Use relative paths for kxmlcore includes
  • kjs/testkjs.cpp: Use relative paths for kxmlcore includes
  • Property svn:eol-style set to native
File size: 1.0 KB
Line 
1#if __APPLE__
2
3#define HAVE_ERRNO_H 1
4#define HAVE_FUNC_ISINF 1
5#define HAVE_FUNC_ISNAN 1
6#define HAVE_MMAP 1
7#define HAVE_SBRK 1
8#define HAVE_STRINGS_H 1
9#define HAVE_SYS_PARAM_H 1
10#define HAVE_SYS_TIME_H 1
11#define HAVE_SYS_TIMEB_H 1
12
13#define KJS_MULTIPLE_THREADS 1
14
15#elif WIN32
16
17#define HAVE_FLOAT_H 1
18#define HAVE_FUNC__FINITE 1
19#define HAVE_SYS_TIMEB_H 1
20#define USE_SYSTEM_MALLOC 1
21
22#else
23
24#define HAVE_ERRNO_H 1
25#define HAVE_FUNC_ISINF 1
26#define HAVE_FUNC_ISNAN 1
27#define HAVE_MMAP 1
28#define HAVE_SBRK 1
29#define HAVE_STRINGS_H 1
30#define HAVE_SYS_PARAM_H 1
31#define HAVE_SYS_TIME_H 1
32
33#endif
34
35#define HAVE_FUNC_STRTOLL 1
36#define HAVE_ICU 1
37#define HAVE_PCREPOSIX 1
38#define HAVE_STDINT_H 1
39#define HAVE_STRING_H 1
40
41#if __ppc__ || __PPC__ || __powerpc__
42#define KJS_CPU_PPC 1
43#define WORDS_BIGENDIAN 1
44#elif __ppc64__ || __PPC64__
45#define KJS_CPU_PPC64 1
46#define WORDS_BIGENDIAN 1
47#elif __i386__
48#define KJS_CPU_X86 1
49#endif
50
51#define KXC_CHANGES 1
52
53#ifdef __cplusplus
54#undef new
55#undef delete
56#include <kxmlcore/FastMalloc.h>
57#endif
Note: See TracBrowser for help on using the repository browser.