home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 545b.lha / RexxHS / arexx.h next >
Encoding:
C/C++ Source or Header  |  1991-09-07  |  1.2 KB  |  50 lines

  1. /*
  2.  * arexx.h -- Standard header file to be included by all C programs
  3.  *            in the Amiga Programmer's Guide to ARexx.
  4.  */
  5.  
  6. #ifndef AREXX_H_INCLUDED
  7. #define AREXX_H_INCLUDED
  8.  
  9. #include <exec/types.h>
  10. #include <exec/memory.h>
  11. #include <exec/nodes.h>
  12. #include <exec/libraries.h>
  13. #include <exec/ports.h>
  14.  
  15. /*
  16.  * Note: INCLUDES_2 should be DEFINEd by users who wish to use
  17.  * Commodore's official header files for 2.0
  18.  */
  19.  
  20. #if defined( INCLUDES_2 ) /* Use 2.0 includes */
  21.     #include <clib/exec_protos.h>
  22.     #include <clib/dos_protos.h>
  23.  
  24.     extern struct MsgPort *CreatePort( UBYTE *name, ULONG pri );
  25.  
  26.     /* Here you have to insert the pragma files you've built
  27.        for your compiler from Commodore's 2.0 .fd files */
  28.  
  29. #elif defined( AZTEC_C )    /* Aztec C */
  30.     #include <clib/exec_protos.h>
  31.     #include <clib/dos_protos.h>
  32.  
  33.     extern struct MsgPort *CreatePort( UBYTE *name, ULONG pri );
  34.  
  35.     #ifndef __NO_PRAGMAS
  36.         #include <pragma/exec_lib.h>
  37.         #include <pragma/dos_lib.h>
  38.     #endif
  39.  
  40. #elif defined( LATTICE ) || defined( __SASC )  /* SAS/C */
  41.     #include <proto/exec.h>
  42.     #include <proto/dos.h>
  43. #endif
  44.  
  45. #ifndef NULLCHAR
  46. #define NULLCHAR '\0'
  47. #endif
  48.  
  49. #endif /* AREXX_H_INCLUDED */
  50.