Skip to content

Commit

Permalink
Windows: Fix unicode support with libsndfile
Browse files Browse the repository at this point in the history
See issue #1422 for details.
  • Loading branch information
carlo-bramini committed Nov 6, 2024
1 parent 4bda265 commit ada6ece
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/utils/fluid_sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ typedef gintptr intptr_t;
#pragma warning(disable : 4996)
#endif

/*
* Required by Windows-specific sf_wchar_open() from
* libsndfile that takes a UTF16_BE encoded filename.
*/
#define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1

#endif

/* Darwin special defines (taken from config_macosx.h) */
Expand Down

0 comments on commit ada6ece

Please sign in to comment.