home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / s / mach.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-28  |  2.1 KB  |  63 lines

  1. /* Definitions file for GNU Emacs running on Mach (BSD 4.3)
  2.    Copyright (C) 1985, 1986, 1993 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU Emacs is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU Emacs; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. /* Synched up with: Not in FSF.
  21.    #### This file does not appear in FSF 19.29 and likely should be
  22.    deleted.  There is already a mach2.h and the THIS_IS_YMAKEFILE
  23.    stuff is obsolete. */
  24.  
  25. /* This has only been tested in the Carnegie Mellon University
  26.  * Computer Science Department Mach environment.  If you use it
  27.  * elsewhere, please let me (dkindred@cmu.edu) know whether it
  28.  * works. */
  29.  
  30. #include "bsd4-3.h"
  31.  
  32. /* SYSTEM_TYPE should indicate the kind of system you are using.
  33.  It sets the Lisp variable system-type.  */
  34.  
  35. #undef SYSTEM_TYPE
  36. #define SYSTEM_TYPE "mach"
  37.  
  38. /* Define this macro if system defines a type `union wait'.  */
  39.  
  40. #define HAVE_UNION_WAIT
  41.  
  42. /* Don't send signals to subprocesses by "typing" special chars at them. */
  43. #undef SIGNALS_VIA_CHARACTERS
  44.  
  45. /* XEmacs change */
  46. /* unistd.h defines _POSIX_VERSION, which leads some things to believe 
  47.    that _POSIX_PATH_MAX should be defined.  Unfortunately, it isn't. */
  48. #ifndef THIS_IS_YMAKEFILE
  49. #include <sys/param.h>
  50. #define _POSIX_PATH_MAX MAXPATHLEN
  51. #endif
  52.  
  53. #ifndef THIS_IS_YMAKEFILE
  54. typedef int pid_t;
  55. /* XEmacs change */
  56. typedef unsigned short mode_t;
  57. #endif THIS_IS_YMAKEFILE
  58.  
  59. #if (defined(i386) || defined(ibmrt))
  60.   /* use drem() instead of fmod() -- this is a BUG in the compiler runtime. */
  61. # define USE_DREM
  62. #endif
  63.