home *** CD-ROM | disk | FTP | other *** search
/ MACD 4 / MACD4.iso / Emulatory / AROS / include / aros / system.h < prev   
Encoding:
C/C++ Source or Header  |  1978-03-06  |  1011 b   |  49 lines

  1. #ifndef AROS_SYSTEM_H
  2. #define AROS_SYSTEM_H
  3. /*
  4.     (C) 1995-96 AROS - The Amiga Replacement OS
  5.     $Id: system.h,v 1.5 1996/10/24 15:44:26 aros Exp $
  6.  
  7.     Desc: Analyse the current kind of system
  8.     Lang: english
  9. */
  10. #ifndef _AROS
  11. #   define _AROS
  12. #endif
  13. #ifndef AROS_MACHINE_H
  14. #   include <aros/machine.h>
  15. #endif
  16.  
  17. /**************************************
  18.         Defines
  19. **************************************/
  20. /* 1. Analyze system: Specify a definitive define for each system */
  21. #if defined(_AMIGA) || defined(AMIGA)
  22. #   ifndef _AMIGA /* One define for each system */
  23. #    define _AMIGA
  24. #   endif
  25. #endif
  26.  
  27. /* 2. Makros for debugging and development */
  28. #if defined(TEST) || defined(DEBUG)
  29. #   include <assert.h>
  30. #else
  31. #   define assert(x)        /* empty */
  32. #endif
  33.  
  34. /* 3. Sytem-specific files */
  35. #ifdef _AMIGA
  36. #   include <aros/amiga.h>
  37. #endif
  38. #ifdef linux
  39. #   include <aros/linux.h>
  40. #endif
  41. #ifdef _OSF1
  42. #   include <aros/alpha.h>
  43. #endif
  44. #ifdef __FreeBSD__
  45. #   include <aros/freebsd.h>
  46. #endif
  47.  
  48. #endif /* AROS_SYSTEM_H */
  49.