]> sourceware.org Git - newlib-cygwin.git/commit
Fix off_t typedef on Cygwin64
authorYaakov Selkowitz <yselkowi@redhat.com>
Mon, 29 Aug 2016 20:30:59 +0000 (15:30 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Mon, 29 Aug 2016 20:30:59 +0000 (15:30 -0500)
commit3d3ab829689f2563cfbfb65ce440cff8299a4ae9
treec82ef7acc3c7962b9456626260b25468d65a74d9
parentde8b81950dcf0418f5412cfeab7bd6950c296905
Fix off_t typedef on Cygwin64

While both long and long long are 64-bits on x86_64, they are distinct types,
and long was used prior to commit 477463a2011ba81907a753df9ce7a71b6563db54.
Changing this breaks the linking of previously compiled C++ functions with
off_t arguments on 64-bit Cygwin with newly compiled code, as the mangling of
long (l) and long long (x) differ.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
newlib/libc/include/sys/_types.h
This page took 0.029546 seconds and 5 git commands to generate.