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:
parent
d018c8a6e1
commit
f30114ea7b
3 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue