Skip to content

Commit

Permalink
Define WC_ERR_INVALID_CHARS if not defined because of an old mingw ve…
Browse files Browse the repository at this point in the history
…rsion.
  • Loading branch information
bamidev committed Mar 10, 2024
1 parent 5532c93 commit 05c9fe0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions c/src/win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
#pragma comment(lib, "User32.lib")
#pragma comment(lib, "OleAut32.lib")

#ifndef WC_ERR_INVALID_CHARS
#define WC_ERR_INVALID_CHARS 0x80
#endif



char* bw_win32_unhandledHresultMessage( bw_ErrCode code, const void* data );
Expand Down

0 comments on commit 05c9fe0

Please sign in to comment.