diff options
Diffstat (limited to 'contrib/less/less.h')
| -rw-r--r-- | contrib/less/less.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/contrib/less/less.h b/contrib/less/less.h index 021b2df5e0e7..2063558cf75a 100644 --- a/contrib/less/less.h +++ b/contrib/less/less.h @@ -139,7 +139,7 @@ void free(); /* * Special types and constants. */ -typedef long POSITION; +typedef off_t POSITION; #define PR_POSITION "%ld" #define MAX_PRINT_POSITION 20 #define MAX_PRINT_INT 10 @@ -359,6 +359,20 @@ struct textlist #define LSIGNAL(sig,func) signal(sig,func) #endif +#if HAVE_SIGPROCMASK +#if HAVE_SIGSET_T +#else +#undef HAVE_SIGPROCMASK +#endif +#endif +#if HAVE_SIGPROCMASK +#if HAVE_SIGEMPTYSET +#else +#undef sigemptyset +#define sigemptyset(mp) *(mp) = 0 +#endif +#endif + #define S_INTERRUPT 01 #define S_STOP 02 #define S_WINCH 04 |
