-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.h
99 lines (82 loc) · 3.42 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/* Compile time configuration switches
*/
/* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* Tune the compile time settings before you say `make' for the SLB.
* Nothing bad happens when you don't change anything in this file,
* just a generic version of the library will be built.
*/
/* ------------------------ User definitions ------------------ */
/* Some AES versions completely trust all the pointers programs pass
* in the parameter arrays and, when such a pointer is invalid, the
* AES usually dies in flames then (together with all the system).
* The library contains several pointer checks against this. If you
* are sure your AES is robust and these checks are not required,
* define this below. My advice is to keep this undefined, for safety.
*/
# undef _ROBUST_AES
/* Define this if you are sure your AES has the N.AES-style appl_yield()
* function, and you want programs to use it. Syield() is used otherwise.
*
* Tip: undefining it makes appl_yield() calls faster when running under
* MiNT (of course only for programs which use the library)
*/
# undef _HAVE_APPL_YIELD
/* Undefine this below if you want to use the library with an AES older
* than v. 1.40 (TOS 1.04 or something). In that case, all calls to the
* fsel_exinput() will be redirected to the fsel_input() function. This
* switch does not have any effect on AES version 1.40 and up.
*/
# undef _HAVE_FSEL_EXINPUT
/* This switch, when undefined, allows to use the real appl_getinfo()
* call even on AES versions below 4.0; deactivating this, when the
* appl_getinfo() is not supported (e.g. on AES 3.40 of Falcon030) may
* produce unpleasant results. When your AES is 4.0 or up, this makes
* no difference.
* In other words: when this is defined, and AES is below 4.0, the
* appl_getinfo() call will be emulated by the library. If you want to
* avoid emulation, and call the real function instead (e.g. on MagiC),
* undefine the switch.
*/
# define _EMULATE_APPL_GETINFO
/* Define this if the AES supports the form_popup() call (e.g. N.AES
* does, the Atari AES 4.10 does not). It will be emulated otherwise.
*/
# undef _HAVE_FORM_POPUP
/*
* Define this to 0/1 wether kernel32.slb should be used.
*/
# define _USE_KERNEL32 0
/* ------------------------ Hardcore definitions ------------------ */
/* Define this below if you want a version of the library
* with debug support (longer and a bit slower)
*/
# define DEBUG
/* Maximum recursion depth (in levels) for env_eval()
*/
# define MAX_RECURSION 63
/* Maximum text line length in an alert box.
*/
# define MAX_LINE 25
/* Maximum pid number a process can have.
*/
# define MAX_PID 999
/* Mxalloc() page size on your system.
*/
# define DEF_PAGE_SIZE 8192
/* Minimum Mxalloc() page size on your system.
*/
# define MIN_PAGE_SIZE 1024
/* EOF */