home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / zip / gnu / update30.lzh / UPDATE30 / XM-ATARI.H < prev   
C/C++ Source or Header  |  1993-07-30  |  919b  |  45 lines

  1. /* The following Macros control the compilation
  2.  *
  3.  *    CROSSATARI    defined when making cross compiler for TOS or Minix
  4.  *    MINIX        defined when making cross compiler for MINIX only
  5.  *    atariminix    defined when making compiler for MINIX
  6.  *    atarist        defined when making compiler for TOS
  7.  */
  8.  
  9. /* we use an extra file, as we don't do links */
  10.  
  11. /* generic m68k config file */
  12.  
  13. #include "m68k/xm-m68k.h"
  14.  
  15. /* make sure this is the case. some versions did'nt def this */
  16. #ifndef HOST_WORDS_BIG_ENDIAN
  17. #  define HOST_WORDS_BIG_ENDIAN
  18. #endif
  19.  
  20. /* make alloca defn more cross-compilable */
  21.  
  22. #if defined(__GNUC__)
  23. #  if defined(alloca)
  24. #    undef alloca
  25. #  endif
  26. #  define alloca(x) __builtin_alloca(x)
  27. #endif
  28.  
  29. #if !defined(alloca)
  30.  
  31. #  if defined(sparc)
  32. #    include <alloca.h>
  33. #  endif
  34.  
  35. #  if defined(__hpux)
  36.     extern char *alloca();
  37. #  endif
  38.     
  39. #endif
  40.  
  41. #define NO_STAB_H
  42. #define HAVE_VPRINTF
  43. #define HAVE_ATEXIT
  44. #define HAVE_PUTENV
  45.