home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / EmacsTeX / emacs-patches / src / m-NeXT.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-14  |  2.7 KB  |  108 lines

  1. /* Configuration file for the NeXT machine. */
  2. /*    Copyright (C) 1985, 1986 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY.  No author or distributor
  8. accepts responsibility to anyone for the consequences of using it
  9. or for whether it serves any particular purpose or works at all,
  10. unless he says so in writing.  Refer to the GNU Emacs General Public
  11. License for full details.
  12.  
  13. Everyone is granted permission to copy, modify and redistribute
  14. GNU Emacs, but only under the conditions described in the
  15. GNU Emacs General Public License.   A copy of this license is
  16. supposed to have been given to you along with GNU Emacs so you
  17. can know your rights and responsibilities.  It should be in a
  18. file named COPYING.  Among other things, the copyright notice
  19. and this notice must be preserved on all copies.  */
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27. /* The following three symbols give information on
  28.  the size of various data types.  */
  29.  
  30. #define SHORTBITS 16        /* Number of bits in a short */
  31.  
  32. #define INTBITS 32        /* Number of bits in an int */
  33.  
  34. #define LONGBITS 32        /* Number of bits in a long */
  35.  
  36. /* 68000 has lowest-numbered byte as most significant */
  37.  
  38. #define BIG_ENDIAN
  39.  
  40. /* Define how to take a char and sign-extend into an int.
  41.    On machines where char is signed, this is a no-op.  */
  42.  
  43. #define SIGN_EXTEND_CHAR(c) (c)
  44.  
  45. /* Say this machine is a 68000 */
  46.  
  47. #ifndef m68000
  48. #define m68000
  49. #endif
  50.  
  51. /* Use type int rather than a union, to represent Lisp_Object */
  52.  
  53. #define NO_UNION_TYPE
  54.  
  55. /* Sun can't write competent compilers */
  56. /* #define COMPILER_REGISTER_BUG */ /* sra */
  57.  
  58. /* XINT must explicitly sign-extend */
  59.  
  60. #define EXPLICIT_SIGN_EXTEND
  61.  
  62. #define LIB_STANDARD -lsys_s 
  63. #define environ _environ
  64. #define NO_REMAP
  65. #define UNEXEC unexNeXT.o
  66.  
  67. #ifndef FSCALE
  68. #define FSCALE 256
  69. #endif                   
  70.  
  71. #define LIBS_MACHINE -lcs   /* needed for putenv */
  72.  
  73. /* Data type of load average, as read out of kmem.  */
  74.  
  75. #define LOAD_AVE_TYPE long
  76.  
  77. /* Convert that into an integer that is 100 for a load average of 1.0  */
  78.  
  79. #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
  80.  
  81. /* Say that the text segment of a.out includes the header;
  82.    the header actually occupies the first few bytes of the text segment
  83.    and is counted in hdr.a_text.  */
  84.  
  85. #define A_TEXT_OFFSET(HDR) sizeof (HDR)
  86.  
  87. /* #define _setjmp setjmp */
  88. /* #define _longjmp longjmp */
  89.  
  90. /* Use dk.h, not dkstat.h, in loadst.c.  */
  91.  
  92. #define DK_HEADER_FILE
  93. /* Mask for address bits within a memory segment */
  94.  
  95. #define SEGSIZ 0x20000
  96. #define SEGMENT_MASK (SEGSIZ - 1)
  97.  
  98. #define HAVE_ALLOCA
  99.  
  100. #define SYSTEM_MALLOC
  101.  
  102. #define HAVE_UNIX_DOMAIN
  103.  
  104. /* don't have strdup, so have to add it (in emacs.c, declared in lisp.h) */
  105.  
  106. #define NEED_STRDUP
  107.  
  108.