mirror of
https://github.com/mirror/make.git
synced 2025-01-15 23:00:37 +08:00
* makeint.h (ftruncate): Define also for __WATCOMC__.
Copyright-paperwork-exempt: yes.
This commit is contained in:
parent
1afb0ad372
commit
9fc787c658
@ -351,7 +351,7 @@ char *strsignal (int signum);
|
||||
# define pipe(_p) _pipe((_p), 512, O_BINARY)
|
||||
# define kill(_pid,_sig) w32_kill((_pid),(_sig))
|
||||
/* MSVC doesn't have ftruncate. */
|
||||
# ifdef _MSC_VER
|
||||
# if defined(_MSC_VER) || defined(__WATCOMC__)
|
||||
# define ftruncate(_fd,_len) _chsize(_fd,_len)
|
||||
# endif
|
||||
/* MinGW64 doesn't have _S_ISDIR. */
|
||||
|
Loading…
Reference in New Issue
Block a user