/* Definitions file for GNU Emacs running on HPUX release 7.0.
Based on AT&T System V.2.
- Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 1, or (at your option)
+the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Emacs is distributed in the hope that it will be useful,
You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING. If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
/*
#define HAVE_TERMIO
-/* Says to include time.h, and not include sys/time.h. */
-
-#define NEED_TIME_H
-
-/*
- * Define HAVE_TIMEVAL if the system supports the BSD style clock values.
- * Look in <sys/time.h> for a timeval structure.
- */
-
-#define HAVE_TIMEVAL
-
-/* With HAVE_TIMEVAL define, Emacs expects to use `utimes'.
- But HPUX does not have one. */
-
-#define MISSING_UTIMES
-
-/*
- * Define HAVE_SELECT if the system supports the `select' system call.
- */
-
-#define HAVE_SELECT
-
/*
* Define HAVE_PTYS if the system supports pty devices.
*/
/* #define NONSYSTEM_DIR_LIBRARY */
/* Define this symbol if your system has the functions bcopy, etc.
- * s800 and later versions of s300 (s200) kernels have equivilents
+ * s800 and later versions of s300 (s200) kernels have equivalents
* of the BSTRING functions of BSD. If your s200 kernel doesn't have
* em comment out this section.
*/
/* #define SHORTNAMES */
-/* We use the Berkeley (and usg5.2.2) interface to nlist. */
-
-#define NLIST_STRUCT
-
/* The file containing the kernel's symbol table is called /hp-ux. */
#define KERNEL_FILE "/hp-ux"
#define _longjmp longjmp
*/
-/* On USG systems the system calls are interruptable by signals
- that the user program has elected to catch. Thus the system call
- must be retried in these cases. To handle this without massive
- changes in the source code, we remap the standard system call names
- to names for our own functions in sysdep.c that do the system call
- with retries. */
-
-#define read sys_read
-#define open sys_open
-#define write sys_write
-
-#define INTERRUPTIBLE_OPEN
-#define INTERRUPTIBLE_IO
-
/* Use the system provided termcap(3) library */
#define TERMINFO
-/* The 48-bit versions are more winning for Emacs. */
-
-#define rand lrand48
-#define srand srand48
+/* The 48-bit versions are more winning for Emacs;
+ the ordinary ones don't give even 32 bits. */
+#define random lrand48
+#define srandom srand48
/* In hpux, the symbol SIGIO is defined, but the feature
- doesn't work in the way Emacs needs it to.
+ doesn't work in the way Emacs needs it to. */
- Here we assume that signal.h is included before config.h
- so that we can override it here. */
-
-#undef SIGIO
+#define BROKEN_SIGIO
/* USG systems tend to put everything declared static
into the initialized data area, which becomes pure after dumping Emacs.
/* Some additional system facilities exist. */
-#define HAVE_GETTIMEOFDAY
-
-#define HAVE_VFORK
#define HAVE_PERROR /* Delete this line for version 6. */
/* The following maps shared exec file to demand loaded exec.
/* This is how to get the device name of the control end of a pty. */
#define PTY_NAME_SPRINTF \
sprintf (pty_name, "/dev/ptym/pty%c%x", c, i);
+
+/* This triggers a conditional in xfaces.c. */
+#define XOS_NEEDS_TIME_H
+
+#ifndef HPUX8
+/* It's possible that HPUX 7 has sys/wait.h but it does not work right. */
+#undef HAVE_SYS_WAIT_H
+#endif
+
+/* arch-tag: 75c1239f-fedb-4f64-8f86-7893e75699e8
+ (do not change this comment) */