home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / NeXT / GnuSource / emacs-15.0.3 / src / m-pyramid.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-07-19  |  2.2 KB  |  74 lines

  1. /* m- file for pyramid.
  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. /* The following three symbols give information on
  23.  the size of various data types.  */
  24.  
  25. #define SHORTBITS 16        /* Number of bits in a short */
  26.  
  27. #define INTBITS 32        /* Number of bits in an int */
  28.  
  29. #define LONGBITS 32        /* Number of bits in a long */
  30.  
  31. /* Define BIG_ENDIAN iff lowest-numbered byte in a word
  32.    is the most significant byte.  */
  33.  
  34. #define BIG_ENDIAN
  35.  
  36. /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
  37.  * group of arguments and treat it as an array of the arguments.  */
  38.  
  39. #ifdef __GNUC__
  40. #define NO_ARG_ARRAY
  41. #endif
  42.  
  43. /* XINT must explicitly sign extend */
  44.  
  45. #define EXPLICIT_SIGN_EXTEND
  46.  
  47. /* Define how to take a char and sign-extend into an int.
  48.    On machines where char is signed, this is a no-op.  */
  49.  
  50. #define SIGN_EXTEND_CHAR(c) (c)
  51.  
  52. /* pyramid preprocessor defines "pyr", however the following is clearer */
  53. #define pyramid
  54.  
  55. /* Don't use the union types any more.  They were used until Emacs 17.45.  */
  56.  
  57. #define NO_UNION_TYPE
  58.  
  59. /* Data type of load average, as read out of kmem.  */
  60.  
  61. #define LOAD_AVE_TYPE double
  62.  
  63. /* Convert that into an integer that is 100 for a load average of 1.0  */
  64.  
  65. #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0))
  66.  
  67. /* Don't use the ordinary -g for debugging in cc */
  68.  
  69. #define C_DEBUG_SWITCH -gx
  70.  
  71. /* Reenable this #define for old versions of the Pyramid system.  */
  72.  
  73. /* #define PYRAMID_OLD */
  74.