Mercurial > vim
comparison src/os_unix.c @ 1879:e8eeeff19eae v7.2.176
updated for version 7.2-176
author | vimboss |
---|---|
date | Sat, 16 May 2009 14:41:10 +0000 |
parents | b5c1cb6f8d56 |
children | c8f343a465a2 |
comparison
equal
deleted
inserted
replaced
1878:6ed4a82fcfc6 | 1879:e8eeeff19eae |
---|---|
197 #ifndef __EMX__ | 197 #ifndef __EMX__ |
198 static int save_patterns __ARGS((int num_pat, char_u **pat, int *num_file, char_u ***file)); | 198 static int save_patterns __ARGS((int num_pat, char_u **pat, int *num_file, char_u ***file)); |
199 #endif | 199 #endif |
200 | 200 |
201 #ifndef SIG_ERR | 201 #ifndef SIG_ERR |
202 # ifndef S_SPLINT_S | 202 # define SIG_ERR ((RETSIGTYPE (*)())-1) |
203 # define SIG_ERR ((RETSIGTYPE (*)())-1) | |
204 # endif | |
205 #endif | 203 #endif |
206 | 204 |
207 /* volatile because it is used in signal handler sig_winch(). */ | 205 /* volatile because it is used in signal handler sig_winch(). */ |
208 static volatile int do_resize = FALSE; | 206 static volatile int do_resize = FALSE; |
209 #ifndef __EMX__ | 207 #ifndef __EMX__ |
441 return WaitForChar(0L); | 439 return WaitForChar(0L); |
442 } | 440 } |
443 | 441 |
444 #if defined(HAVE_TOTAL_MEM) || defined(PROTO) | 442 #if defined(HAVE_TOTAL_MEM) || defined(PROTO) |
445 # ifdef HAVE_SYS_RESOURCE_H | 443 # ifdef HAVE_SYS_RESOURCE_H |
446 # ifndef S_SPLINT_S /* splint crashes on bits/resource.h */ | 444 # include <sys/resource.h> |
447 # include <sys/resource.h> | |
448 # endif | |
449 # endif | 445 # endif |
450 # if defined(HAVE_SYS_SYSCTL_H) && defined(HAVE_SYSCTL) | 446 # if defined(HAVE_SYS_SYSCTL_H) && defined(HAVE_SYSCTL) |
451 # include <sys/sysctl.h> | 447 # include <sys/sysctl.h> |
452 # endif | 448 # endif |
453 # if defined(HAVE_SYS_SYSINFO_H) && defined(HAVE_SYSINFO) | 449 # if defined(HAVE_SYS_SYSINFO_H) && defined(HAVE_SYSINFO) |