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 committed Nov 16, 2023
1 parent d31fb17 commit 0411d55
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 0411d55

Please sign in to comment.