home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / biology / gsrc208a.zip / TOOLKIT.H < prev    next >
C/C++ Source or Header  |  1991-01-29  |  809b  |  40 lines

  1. /*_ toolkit.h   Tue Apr 18 1989   Modified by: Walter Bright */
  2.  
  3. #ifndef TOOLKIT_H
  4. #define TOOLKIT_H    1
  5.  
  6. /* Define stuff that's different between machines.
  7.  * PROTOTYPING        1 if compiler supports prototyping
  8.  * HOSTBYTESWAPPED    1 if on the host machine the bytes are
  9.  *            swapped (1 for 6809, 68000, 0 for 8088
  10.  *            and VAX).
  11.  */
  12.  
  13. #if __ZTC__
  14. #define PROTOTYPING    1
  15. #define HOSTBYTESWAPPED    0
  16.  
  17. #else
  18. #ifdef M_UNIX     /* SCO UNIX using Microsoft C. */
  19. #define PROTOTYPING    1
  20. #define HOSTBYTESWAPPED    0
  21. #define EXIT_SUCCESS    0
  22. #define EXIT_FAILURE    1
  23.  
  24. #else
  25. #include    "host.h"
  26. #endif
  27.  
  28. #endif
  29.  
  30. /* Macros so that we can do prototyping, but still work with non-    */
  31. /* prototyping compilers:                        */
  32.  
  33. #if PROTOTYPING
  34. #define P(s)    s
  35. #else
  36. #define P(s)    ()
  37. #endif
  38.  
  39. #endif /* TOOLKIT_H */
  40.