draco icon indicating copy to clipboard operation
draco copied to clipboard

Fix #if priority for ftell

Open guusw opened this issue 1 year ago • 1 comments

ftello is not defined on windows, but apparently _FILE_OFFSET_BITS is, swap the if cases to detect windows first. Using the native LLVM+clang toolchain:

> clang --version
clang version 15.0.7
Target: x86_64-pc-windows-msvc
Thread model: posix

guusw avatar Mar 17 '23 10:03 guusw

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Mar 17 '23 10:03 google-cla[bot]