2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
10 /******************************************************************************
16 This files defines a couple of options which change the way
19 ******************************************************************************/
21 /* Should the system compile a working SetFunction()-call? If you
22 enable this, "real" shared libraries (with LVOs and the like)
23 will be generated and all Functions will be called via LVOs.
24 If you disable this, all functions will be called somewhat more
25 directly. To enable the option, change the 0 to 1. */
26 #ifndef EnableSetFunction
27 # define EnableSetFunction 1
33 /* Should the OS use registerized arguments or pass the arguments on
35 #ifndef UseRegisterArgs
36 # define UseRegisterArgs 0
39 /* Should the OS be compiled with macros that call the actual function
40 and with the library base as first parameter or should the library
41 base be a global variable (shared by all functions). */
42 #ifndef LibBaseShouldBeAParameter
43 # define LibBaseShouldBeAParameter 1
46 /* Should the OS be compiled with LVO tables or should the functions
47 be called directly? Note that this is superseeded by
53 /* If the following is defined, errnos from unix function-calls that could not
54 be interpreted as AROS error numbers (ERROR_* defined in <dos/dos.h> are
55 passed back via SetIoErr(). The errno is incremented by the value of this
56 define. Note that this value should generate unique error numbers! Note
57 also that Fault() checks, whether an error-number is in fact an errno, by
58 AND'ing this value to the error number! The recommended value is 0x40000000
59 (ie only the 30th bit set).
61 If this is defined to 0, the errno will not be passed through. Instead
62 ERROR_UNKNOWN is returned, if the errno could not be interpreted.
64 On AROS systems without any Unix emulation (ie every system without
65 underlying POSIX-compatible operating system), this should be set to 0 to
66 simplify the resulting code. */
67 #ifndef PassThroughErrnos
68 # define PassThroughErrnos 0
69 /* # define PassThroughErrnos 0x40000000 */
72 /******************************************************************************
73 ***** END aros/options.h
74 ******************************************************************************/
76 #endif /* AROS_OPTIONS_H */