Skip to content

Commit

Permalink
fix some stuff broken for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
amoldeshpande committed Nov 12, 2021
1 parent 4772dda commit 37cd287
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions sh.h
Original file line number Diff line number Diff line change
Expand Up @@ -1029,6 +1029,7 @@ EXTERN struct varent {
* The following are for interfacing redo substitution in
* aliases to the lexical routines.
*/
#define HIST_PURGE -500000
EXTERN struct wordent *alhistp IZERO;/* Argument list (first) */
EXTERN struct wordent *alhistt IZERO;/* Node after last in arg list */
EXTERN Char **alvec IZERO,
Expand Down
3 changes: 3 additions & 0 deletions win32/ntport.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ pretty */
#define setpgrp(a,b) (-1)
#define tcsetattr(a,b,c) 0

#define strcasecmp(a,b) stricmp((a),(b))
#define readlink(a,b,c) -1

#define inline __inline

#undef stdin
Expand Down

0 comments on commit 37cd287

Please sign in to comment.