CLOSED TREE: TraceMonkey merge head. (a=blockers)
[mozilla-central.git] / js / src / js-config.h.in
blobe3a5f74f52c2c2c6bd4663d97ad19fc7ded46489
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 * vim: set ts=8 sw=4 et tw=78:
4 * ***** BEGIN LICENSE BLOCK *****
5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
7 * The contents of this file are subject to the Mozilla Public License Version
8 * 1.1 (the "License"); you may not use this file except in compliance with
9 * the License. You may obtain a copy of the License at
10 * http://www.mozilla.org/MPL/
12 * Software distributed under the License is distributed on an "AS IS" basis,
13 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
14 * for the specific language governing rights and limitations under the
15 * License.
17 * The Original Code is Mozilla Communicator client code, released
18 * March 31, 1998.
20 * The Initial Developer of the Original Code is
21 * Netscape Communications Corporation.
22 * Portions created by the Initial Developer are Copyright (C) 1998
23 * the Initial Developer. All Rights Reserved.
25 * Contributor(s):
27 * Alternatively, the contents of this file may be used under the terms of
28 * either of the GNU General Public License Version 2 or later (the "GPL"),
29 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
30 * in which case the provisions of the GPL or the LGPL are applicable instead
31 * of those above. If you wish to allow use of your version of this file only
32 * under the terms of either the GPL or the LGPL, and not to allow others to
33 * use your version of this file under the terms of the MPL, indicate your
34 * decision by deleting the provisions above and replace them with the notice
35 * and other provisions required by the GPL or the LGPL. If you do not delete
36 * the provisions above, a recipient may use your version of this file under
37 * the terms of any one of the MPL, the GPL or the LGPL.
39 * ***** END LICENSE BLOCK ***** */
41 #ifndef js_config_h___
42 #define js_config_h___
44 /* Definitions set at build time that affect SpiderMonkey's public API.
45 This header file is generated by the SpiderMonkey configure script,
46 and installed along with jsapi.h. */
48 /* Define to 1 if SpiderMonkey should support multi-threaded clients. */
49 #undef JS_THREADSAFE
51 /* Define to 1 if SpiderMonkey should include ctypes support. */
52 #undef JS_HAS_CTYPES
54 /* Define to 1 if SpiderMonkey should support the ability to perform
55 entirely too much GC. */
56 #undef JS_GC_ZEAL
58 /* Define to 1 if the standard <stdint.h> header is present and
59 useable. See jstypes.h and jsstdint.h. */
60 #undef JS_HAVE_STDINT_H
62 /* Define to 1 if the <sys/types.h> defines int8_t, etc. */
63 #undef JS_SYS_TYPES_H_DEFINES_EXACT_SIZE_TYPES
65 /* Define to 1 if the N-byte __intN types are defined by the
66 compiler. */
67 #undef JS_HAVE___INTN
69 /* Define to 1 if #including <stddef.h> provides definitions for
70 intptr_t and uintptr_t. */
71 #undef JS_STDDEF_H_HAS_INTPTR_T
73 /* Define to 1 if #including <crtdefs.h> provides definitions for
74 intptr_t and uintptr_t. */
75 #undef JS_CRTDEFS_H_HAS_INTPTR_T
77 /* The configure script defines these if it doesn't #define
78 JS_HAVE_STDINT_H. */
79 #undef JS_INT8_TYPE
80 #undef JS_INT16_TYPE
81 #undef JS_INT32_TYPE
82 #undef JS_INT64_TYPE
83 #undef JS_INTPTR_TYPE
84 #undef JS_BYTES_PER_WORD
86 /* Some mozilla code uses JS-friend APIs that depend on JS_TRACER and
87 JS_METHODJIT being correct. */
88 #undef JS_TRACER
89 #undef JS_METHODJIT
91 #endif /* js_config_h___ */