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.
This commit is contained in:
Fred Fish 1991-11-19 18:54:38 +00:00
parent d018c8a6e1
commit f30114ea7b
3 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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)