Closed Bug 729596 Opened 9 years ago Closed 9 years ago
.cpp compile error on Mac: ‘posix _fallocate’ was not declared
Compiling m-c on Mac gives the following compile error: /mozilla/inbound3/mozglue/linker/szip.cpp: In function ‘int main(int, char**)’: /mozilla/inbound3/mozglue/linker/szip.cpp:70: error: ‘posix_fallocate’ was not declared in this scope glandium's workaround patch: http://pastebin.mozilla.org/1490507
Summary: mozglue compile error on Mac: linker/szip.cpp: â€˜posix_fallocateâ€™ was not declared mozglue compile error on Mac: linker/szip.cpp: ‘posix_fallocate’ was not declared → mozglue/linker/szip.cpp compile error on Mac: â€˜posix_fallocateâ€™ was not declared mozglue/linker/szip.cpp compile error on Mac: ‘posix_fallocate’ was not declared
Component: General → mozglue
Product: Firefox → Core
QA Contact: general → mozglue
We could use the equivalent of posix_fallocate for mac, but since the file is filled sequentially anyways, and since it's a host program, it's not worth bothering.
Attachment #599693 - Flags: review?(taras.mozilla)
Comment on attachment 599693 [details] [diff] [review] Use ftruncate in szip instead of posix_fallocate I don't think I need to review trivial changes like this.
Attachment #599693 - Flags: review?(taras.mozilla) → review+
Inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/775aeed72aef Someone should probably land this directly on m-c.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in before you can comment on or make changes to this bug.