diff options
author | Fred Fish <fnf@specifix.com> | 1991-11-19 18:54:38 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1991-11-19 18:54:38 +0000 |
commit | f30114ea7b11f13812ffa026886f4fe9f96e11ab (patch) | |
tree | 1668b234e40bce95accf381ad7bd25a0d6eb7933 /readline | |
parent | d018c8a6e1c03b8f220445f9de5af8ba4b3a4199 (diff) | |
download | gdb-f30114ea7b11f13812ffa026886f4fe9f96e11ab.zip gdb-f30114ea7b11f13812ffa026886f4fe9f96e11ab.tar.gz gdb-f30114ea7b11f13812ffa026886f4fe9f96e11ab.tar.bz2 |
Change SYSV to USG to match current usage in source. Add USGr4 to list
of defines to check for to use <dirent.h> style directory access.
Diffstat (limited to 'readline')
-rw-r--r-- | readline/ChangeLog | 10 | ||||
-rw-r--r-- | readline/Makefile.in | 2 | ||||
-rw-r--r-- | readline/readline.c | 2 |
3 files changed, 12 insertions, 2 deletions
diff --git a/readline/ChangeLog b/readline/ChangeLog index 56cf39a..25f6a19 100644 --- a/readline/ChangeLog +++ b/readline/ChangeLog @@ -1,3 +1,13 @@ +Tue Nov 19 10:49:17 1991 Fred Fish (fnf at cygnus.com) + + * Makefile.in, config/hm-sysv, config/hm-sco: Change SYSV to + USG to match current usage. + + * readline.c: Add USGr4 to list of defined things to check for + to use <dirent.h> style directory access. + + * config/hm-svr4: New file for System V Release 4 (USGr4). + Mon Nov 18 23:59:52 1991 Stu Grossman (grossman at cygnus.com) * readline.c (filename_completion_function): use struct dirent diff --git a/readline/Makefile.in b/readline/Makefile.in index 2bf3b20..a3e16d7 100644 --- a/readline/Makefile.in +++ b/readline/Makefile.in @@ -39,7 +39,7 @@ READLINE_DEFINES = $(TYPES) -DVI_MODE MINUS_G=-g DEBUG_FLAGS = $(MINUS_G) LDFLAGS = $(DEBUG_FLAGS) -CFLAGS = $(DEBUG_FLAGS) $(SYSV) -I. +CFLAGS = $(DEBUG_FLAGS) $(USG) -I. # A good alternative is gcc -traditional. #CC = gcc -traditional diff --git a/readline/readline.c b/readline/readline.c index f4ae40e..817ef97 100644 --- a/readline/readline.c +++ b/readline/readline.c @@ -119,7 +119,7 @@ struct passwd *getpwuid (), *getpwent (); /* #define HACK_TERMCAP_MOTION */ -#if defined (_POSIX_VERSION) || defined (USGr3) +#if defined (_POSIX_VERSION) || defined (USGr3) || defined (USGr4) # include <dirent.h> # define direct dirent # if defined (_POSIX_VERSION) |