projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Various small fix ups needed for mingw-w64 build.
[claws.git]
/
src
/
common
/
w32_stdlib.c
diff --git
a/src/common/w32_stdlib.c
b/src/common/w32_stdlib.c
index 3aba8f91094b78cd25374a25ccd81db0aa20e165..a55a17efe6a74c65b802806676680face08e1196 100644
(file)
--- a/
src/common/w32_stdlib.c
+++ b/
src/common/w32_stdlib.c
@@
-31,6
+31,8
@@
void srandom( unsigned int seed ){
srand( seed );
}
+#if MINGW64_VERSION < 200
int truncate( const char *path, off_t length ){
return -1;
}
+#endif