Skip to content

Commit

Permalink
Fix unknown type name 'off64_t' on Emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurii Zakharchuk authored and malaterre committed Jan 9, 2024
1 parent 7928ec6 commit 71096e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/MediaStorageAndFileFormat/gdcmFileStreamer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <io.h>
typedef int64_t off64_t;
#else
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__EMSCRIPTEN__)
# define off64_t off_t
#endif
#include <unistd.h> // ftruncate
Expand Down

0 comments on commit 71096e1

Please sign in to comment.