r-lib / archive

R bindings to libarchive, supporting a large variety of archive formats
https://archive.r-lib.org/
Other
145 stars 17 forks source link

archive_read.cpp: unbreak build for Big-endian platforms #84

Closed barracuda156 closed 1 year ago

barracuda156 commented 1 year ago

Fixes: https://github.com/r-lib/archive/issues/83 Signed-off-by: Sergey Fedorov vital.had@gmail.com

The archive_read.cpp code borrows from https://github.com/jeroen/curl/src/curl.c However needed defines are forgotten, which unsurprisingly breaks the build.

gaborcsardi commented 1 year ago

Thanks!

barracuda156 commented 1 year ago

@gaborcsardi Thank you!