Last change
on this file since 13861 was 13670, checked in by darin, 19 years ago |
- tweak config.h and Platform.h to try to get buildbot working
(making some small changes at the same time)
- kjs/config.h: Removed now-unneeded HAVE_ICU.
- kxmlcore/Platform.h: Tweak how platform gets set up. Move all the
USE stuff to the end.
|
-
Property svn:eol-style
set to
native
|
File size:
955 bytes
|
Line | |
---|
1 | #include <kxmlcore/Platform.h>
|
---|
2 |
|
---|
3 | #if PLATFORM(DARWIN)
|
---|
4 |
|
---|
5 | #define HAVE_ERRNO_H 1
|
---|
6 | #define HAVE_FUNC_ISINF 1
|
---|
7 | #define HAVE_FUNC_ISNAN 1
|
---|
8 | #define HAVE_MMAP 1
|
---|
9 | #define HAVE_SBRK 1
|
---|
10 | #define HAVE_STRINGS_H 1
|
---|
11 | #define HAVE_SYS_PARAM_H 1
|
---|
12 | #define HAVE_SYS_TIME_H 1
|
---|
13 | #define HAVE_SYS_TIMEB_H 1
|
---|
14 |
|
---|
15 | #elif PLATFORM(WIN_OS)
|
---|
16 |
|
---|
17 | #define HAVE_FLOAT_H 1
|
---|
18 | #define HAVE_FUNC__FINITE 1
|
---|
19 | #define HAVE_SYS_TIMEB_H 1
|
---|
20 |
|
---|
21 |
|
---|
22 | #define USE_SYSTEM_MALLOC 1
|
---|
23 |
|
---|
24 | #else
|
---|
25 |
|
---|
26 | // FIXME: is this actually used or do other platforms generate their
|
---|
27 | // own config.h?
|
---|
28 |
|
---|
29 | #define HAVE_ERRNO_H 1
|
---|
30 | #define HAVE_FUNC_ISINF 1
|
---|
31 | #define HAVE_FUNC_ISNAN 1
|
---|
32 | #define HAVE_MMAP 1
|
---|
33 | #define HAVE_SBRK 1
|
---|
34 | #define HAVE_STRINGS_H 1
|
---|
35 | #define HAVE_SYS_PARAM_H 1
|
---|
36 | #define HAVE_SYS_TIME_H 1
|
---|
37 |
|
---|
38 | #endif
|
---|
39 |
|
---|
40 | #define HAVE_PCREPOSIX 1
|
---|
41 |
|
---|
42 | // FIXME: if all platforms have these, do they really need #defines?
|
---|
43 | #define HAVE_STDINT_H 1
|
---|
44 | #define HAVE_STRING_H 1
|
---|
45 |
|
---|
46 | #define KXC_CHANGES 1
|
---|
47 |
|
---|
48 | #ifdef __cplusplus
|
---|
49 | #undef new
|
---|
50 | #undef delete
|
---|
51 | #include <kxmlcore/FastMalloc.h>
|
---|
52 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.