projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
260c3a0
)
add comment about lack of _chsize_s()
author
Simon Marlow
<simonmar@microsoft.com>
Wed, 23 Jan 2008 13:12:48 +0000
(13:12 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Wed, 23 Jan 2008 13:12:48 +0000
(13:12 +0000)
include/HsBase.h
patch
|
blob
|
history
diff --git
a/include/HsBase.h
b/include/HsBase.h
index
7fae68a
..
4128197
100644
(file)
--- a/
include/HsBase.h
+++ b/
include/HsBase.h
@@
-406,6
+406,9
@@
__hscore_ftruncate( int fd, off_t where )
#elif defined(HAVE__CHSIZE)
return _chsize(fd,where);
#else
+// ToDo: we should use _chsize_s() on Windows which allows a 64-bit
+// offset, but it doesn't seem to be available from mingw at this time
+// --SDM (01/2008)
#error at least ftruncate or _chsize functions are required to build
#endif
}