Skip to content

Commit

Permalink
Fix Wasm Build
Browse files Browse the repository at this point in the history
Summary: Seems recently landed code broke the build. Adding flow to define off64_t for emscripten paths

Differential Revision: D50177613

fbshipit-source-id: e8191a66f9a64965a0a0971bc68167cfd6b55d9c
  • Loading branch information
Jim Pastos authored and facebook-github-bot committed Oct 14, 2023
1 parent 30be342 commit 3da4d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion folly/portability/Unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include <unistd.h>

#if defined(__APPLE__)
#if defined(__APPLE__) || defined(__EMSCRIPTEN__)
using off64_t = off_t;

off64_t lseek64(int fh, off64_t off, int orig);
Expand Down

0 comments on commit 3da4d3c

Please sign in to comment.