1 /********************************************************************/
2 /*                                                                  */
3 /*  config.h      Configuration settings.                           */
4 /*  Copyright (C) 1989 - 2018  Thomas Mertes                        */
5 /*                                                                  */
6 /*  This file is part of the Seed7 Runtime Library.                 */
7 /*                                                                  */
8 /*  The Seed7 Runtime Library is free software; you can             */
9 /*  redistribute it and/or modify it under the terms of the GNU     */
10 /*  Lesser General Public License as published by the Free Software */
11 /*  Foundation; either version 2.1 of the License, or (at your      */
12 /*  option) any later version.                                      */
13 /*                                                                  */
14 /*  The Seed7 Runtime Library is distributed in the hope that it    */
15 /*  will be useful, but WITHOUT ANY WARRANTY; without even the      */
16 /*  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR */
17 /*  PURPOSE.  See the GNU Lesser General Public License for more    */
18 /*  details.                                                        */
19 /*                                                                  */
20 /*  You should have received a copy of the GNU Lesser General       */
21 /*  Public License along with this program; if not, write to the    */
22 /*  Free Software Foundation, Inc., 51 Franklin Street,             */
23 /*  Fifth Floor, Boston, MA  02110-1301, USA.                       */
24 /*                                                                  */
25 /*  Module: Seed7 Runtime Library                                   */
26 /*  File: seed7/src/config.h                                        */
27 /*  Changes: 2012 - 2015, 2017, 2018  Thomas Mertes                 */
28 /*  Content: Configuration settings.                                */
29 /*                                                                  */
30 /********************************************************************/
31 
32 #define WITH_FLOAT 1
33 #define WITH_REFERENCE 1
34 #define WITH_DRAW 1
35 #define WITH_SQL 1
36 #define WITH_STATISTIC 0
37 #define WITH_COMPILATION_INFO 1
38 #define WITH_TYPE_CHECK 1
39 #define WITH_ACTION_CHECK 0
40 #define WITH_PROTOCOL
41 #define USE_ALTERNATE_NEXT_CHARACTER 1
42 #define USE_INFILE_BUFFER 1
43 #define USE_CHUNK_ALLOCS 1
44 #define USE_ALTERNATE_CHUNK_ALLOCS 0
45 #define USE_MAXIMUM_MALLOC_CHECK 0
46 #define DO_HEAPSIZE_COMPUTATION 1
47 #define DO_HEAP_STATISTIC 0
48 #define DO_HEAP_CHECK 0
49 #define DO_HEAP_LOG 0
50 #define CHECK_STACK 0
51 #define CHECKED_STACK_SIZE_LIMIT 0x800000
52 #define DIALOG_IN_SIGNAL_HANDLER 1
53 #define WITH_STRI_CAPACITY 1
54 #define ALLOW_STRITYPE_SLICES 1
55 #define ALLOW_BSTRITYPE_SLICES 1
56 #define WITH_STRI_FREELIST 1
57 #define WITH_ADJUSTED_STRI_FREELIST 1
58 #define WITH_BIGINT_FREELIST 1
59 #define WITH_OBJECT_FREELIST 1
60 #define WITH_LIST_FREELIST 1
61 #define WITH_NODE_FREELIST 1
62 #define WITH_FILE_FREELIST 1
63 #define STACK_LIKE_ALLOC_FOR_OS_STRI 1
64 #define INTTYPE_SIZE 64
65 #define CHECK_INT_OVERFLOW 1
66 #define BITSETTYPE_SIZE INTTYPE_SIZE
67 #define FLOATTYPE_DOUBLE 1
68 #define LOG_FUNCTIONS_EVERYWHERE 0
69 #define VERBOSE_EXCEPTIONS_EVERYWHERE 0
70 
71 #define MAP_ABSOLUTE_PATH_TO_DRIVE_LETTERS  OS_PATH_HAS_DRIVE_LETTERS
72 #define FORBID_DRIVE_LETTERS                OS_PATH_HAS_DRIVE_LETTERS
73 #define EMULATE_ROOT_CWD                    OS_PATH_HAS_DRIVE_LETTERS
74 #ifdef OS_STRI_WCHAR
75 #define USE_EXTENDED_LENGTH_PATH            OS_PATH_HAS_DRIVE_LETTERS
76 #else
77 #define USE_EXTENDED_LENGTH_PATH            0
78 #endif
79