Skip to content

Commit

Permalink
3rdparty: opusfile: undefine _FILE_OFFSET_BITS before redefining it a…
Browse files Browse the repository at this point in the history
…gain
  • Loading branch information
a1batross committed Feb 2, 2025
1 parent 4832232 commit 2466aba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 3rdparty/opusfile/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def configure(conf):
# HACKHACK: set it to 32 here because opusfile can't be built on Android SDK < 24
# with _FILE_OFFSET_BITS 64 (which it sets automatically in src/internal.h)
# we are not (????) relying on this part of the API, so it should be harmless
conf.undefine('_FILE_OFFSET_BITS')
conf.define('_FILE_OFFSET_BITS', 32)

def build(bld):
Expand Down

0 comments on commit 2466aba

Please sign in to comment.