home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / misc / emu / AROS_m68k_bin.lha / AROS / include / aros / options.h < prev    next >
C/C++ Source or Header  |  1997-02-08  |  2KB  |  54 lines

  1. #ifndef AROS_OPTIONS_H
  2. #define AROS_OPTIONS_H
  3. /* (C) 1995 AROS - The Amiga Replacement OS */
  4.  
  5. /******************************************************************************
  6.  
  7.     FILE
  8.     $Id: options.h,v 1.1 1997/01/09 18:21:16 digulla Exp $
  9.  
  10.     DESCRIPTION
  11.     This files defines a couple of options which change the way
  12.     the OS is compiled.
  13.  
  14. ******************************************************************************/
  15.  
  16. /*  Should the system compile a working SetFunction()-call ? If you
  17.     enable this, "real" shared libraries (with LVOs and the like)
  18.     will be generated and all Functions will be called via LVOs.
  19.     If you disable this, all functions will be called somewhat more
  20.     directly. To enable the option, change the 0 to 1. */
  21. #ifndef EnableSetFunction
  22. #   define EnableSetFunction   0
  23. #endif
  24. #if EnableSetFunction
  25. #   define UseLVOs        1
  26. #endif
  27.  
  28. /*  Should the OS use registerized arguments or pass the arguments on
  29.     stack ? */
  30. #ifndef UseRegisterArgs
  31. #   define UseRegisterArgs    0
  32. #endif
  33.  
  34. /*  Should the OS be compiled with macros that call the actual function
  35.     and with the library base as first parameter or should the library
  36.     base be a global variable (shared by all functions). */
  37. #ifndef LibBaseShouldBeAParameter
  38. #   define LibBaseShouldBeAParameter    0
  39. #endif
  40.  
  41. /*  Should the OS be compiled with LVO tables or should the functions
  42.     be called directly ? Note that this is superseeded by
  43.     EnableSetFunction. */
  44. #ifndef UseLVOs
  45. #   define UseLVOs        0
  46. #endif
  47.  
  48.  
  49. /******************************************************************************
  50. *****  ENDE aros/options.h
  51. ******************************************************************************/
  52.  
  53. #endif /* AROS_OPTIONS_H */
  54.