projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1afb0ad
)
* makeint.h (ftruncate): Define also for __WATCOMC__.
author
Gisle Vanem
<gvanem@yahoo.no>
Wed, 1 Oct 2014 17:41:28 +0000
(20:41 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Wed, 1 Oct 2014 17:41:28 +0000
(20:41 +0300)
Copyright-paperwork-exempt: yes.
makeint.h
patch
|
blob
|
history
diff --git
a/makeint.h
b/makeint.h
index
da267cb
..
eefcde9
100644
(file)
--- a/
makeint.h
+++ b/
makeint.h
@@
-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. */
-# if
def _MSC_VER
+# if
defined(_MSC_VER) || defined(__WATCOMC__)
# define ftruncate(_fd,_len) _chsize(_fd,_len)
# endif
/* MinGW64 doesn't have _S_ISDIR. */