Skip to content

Commit

Permalink
WinCon: on some compiles (MinGW, at minimum), compiling with UTF8=Y d…
Browse files Browse the repository at this point in the history
…id _not_ automatically force WIDE=Y.
  • Loading branch information
Bill-Gray committed Sep 29, 2022
1 parent 13c6914 commit e54d03f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wincon/pdcwin.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
# define _CRT_SECURE_NO_DEPRECATE 1 /* kill nonsense warnings */
#endif

#if defined( PDC_FORCE_UTF8)
#define PDC_WIDE
#endif

#if defined(PDC_WIDE) && !defined(UNICODE)
# define UNICODE
#endif
Expand Down

0 comments on commit e54d03f

Please sign in to comment.