From 30fe9bf45903a63132d13597f53fa21ee7a069f4 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 11 Jul 2012 19:44:03 -0400 Subject: [PATCH] Remove unneeded #define POSIX * src/s/gnu-linux.h, src/s/sol2-6.h: No longer define POSIX, unused since 2011-01-17 change to systty.h. * admin/CPP-DEFINES: Related edit. --- admin/CPP-DEFINES | 1 - src/ChangeLog | 3 +++ src/s/gnu-linux.h | 1 - src/s/sol2-6.h | 2 -- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index 5676225077b..73c4ed2eb4d 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES @@ -192,7 +192,6 @@ O_RDONLY O_RDWR PAGESIZE PENDING_OUTPUT_COUNT -POSIX PREFER_VSUSP PTY_ITERATION PTY_NAME_SPRINTF diff --git a/src/ChangeLog b/src/ChangeLog index eb83ed67017..a15fcc08895 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2012-07-11 Glenn Morris + * s/gnu-linux.h, s/sol2-6.h: No longer define POSIX, + unused since 2011-01-17 change to systty.h. + * s/aix4-2.h, s/bsd-common.h, s/cygwin.h, s/darwin.h, s/gnu-linux.h: * s/hpux10-20.h, s/template.h, s/usg5-4-common.h: Move HAVE_PTYS and HAVE_SOCKETS to configure. diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 91e8e64b8b5..c7567cfcbcb 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h @@ -71,7 +71,6 @@ along with GNU Emacs. If not, see . */ your system and must be used only through an encapsulation (Which you should place, by convention, in sysdep.c). */ -#define POSIX /* affects getpagesize.h and systty.h */ /* This is to work around mysterious gcc failures in some system versions. It is unlikely that Emacs changes will work around this problem; diff --git a/src/s/sol2-6.h b/src/s/sol2-6.h index a0d3db58f28..6a7c261054f 100644 --- a/src/s/sol2-6.h +++ b/src/s/sol2-6.h @@ -24,8 +24,6 @@ along with GNU Emacs. If not, see . */ /* This triggers a conditional in xfaces.c. */ #define XOS_NEEDS_TIME_H -#define POSIX - /* This is the same definition as in usg5-4-common.h, but with sigblock/sigunblock rather than sighold/sigrelse, which appear to be BSD4.1 specific. It may also be appropriate for SVR4.x -- 2.39.2