/* RTPC AIX machine/system dependent defines
- Copyright (C) 1988 Free Software Foundation, Inc.
+ Copyright (C) 1988, 1999, 2001, 2002, 2003, 2004,
+ 2005, 2006, 2007 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., 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA. */
-/* The following line tells the configuration script what sort of
+/* The following line tells the configuration script what sort of
operating system this machine is likely to run.
USUAL-OPSYS="usg5-2-2" */
-/* The following three symbols give information on
- the size of various data types. */
-
-#define SHORTBITS 16 /* Number of bits in a short */
-
-#define INTBITS 32 /* Number of bits in an int */
-
-#define LONGBITS 32 /* Number of bits in a long */
-
-/* Define BIG_ENDIAN iff lowest-numbered byte in a word
+/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
is the most significant byte. */
-#define BIG_ENDIAN
+#define WORDS_BIG_ENDIAN
/* Define NO_ARG_ARRAY if you cannot take the address of the first of a
* group of arguments and treat it as an array of the arguments. */
#define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr))
-/* Define C_ALLOCA if this machine does not support a true alloca
- and the one written in C should be used instead.
- Define HAVE_ALLOCA to say that the system provides a properly
- working alloca function and it should be used.
- Define neither one if an assembler-language alloca
- in the file alloca.s should be used. */
-
-#define C_ALLOCA
-#define STACK_DIRECTION -1 /* tell alloca.c which way it grows */
-
/* AIX has PTYs, so define here, along with macros needed to make them work. */
#define HAVE_PTYS
{ /* Check that server side not already open */ \
if ((ioctl (*ptyv, PTYSTATUS, 0) & 0xFFFF) != 0) \
{ \
- close (*ptyv); \
+ emacs_close (*ptyv); \
continue; \
} \
/* And finally to be sure we can open it later */ \
/* AIX has IPC. It also has sockets, and either can be used for client/server.
I would suggest the client/server code be changed to use HAVE_SOCKETS rather
- than BSD as the conditional if sockets provide any advantages. */
+ than BSD_SYSTEM as the conditional if sockets provide any advantages. */
#define HAVE_SYSVIPC
#include </usr/include/bsd/BSDtoAIX.h>
#define BSTRING
-#define HAVE_GETTIMEOFDAY
-#define HAVE_SELECT
-#define HAVE_TIMEVAL
-#define HAVE_VFORK
-/* But don't use utimes() -- it causes SIGSEGV! Use utime() instead. */
-#define USE_UTIME
+/* AIX utimes allegedly causes SIGSEGV. */
+#undef HAVE_UTIMES /* override configuration decision */
/* AIX defines FIONREAD, but it does not work. */
#define BROKEN_FIONREAD
+
+/* rocky@watson.ibm.com says this is needed. */
+#define HAVE_FTIME
+
+/* arch-tag: eea85307-0ca9-4a9c-a4f6-89fad7591d28
+ (do not change this comment) */