diff options
author | Gisle Vanem <gvanem@yahoo.no> | 2014-10-01 20:41:28 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-10-01 20:41:28 +0300 |
commit | 9fc787c65882c1e6569b8314d696fd1fca9b058b (patch) | |
tree | 27031e672da799107fc978f49efa5bb78e84d9a5 | |
parent | 1afb0ad372a1692fc5f886dd8059a9d4ef667e71 (diff) | |
download | gunmake-9fc787c65882c1e6569b8314d696fd1fca9b058b.tar.gz |
* makeint.h (ftruncate): Define also for __WATCOMC__.
Copyright-paperwork-exempt: yes.
-rw-r--r-- | makeint.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ |