Skip to content

Commit

Permalink
Add UNICODE flags for Windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
chpock committed May 4, 2024
1 parent 9920f22 commit 4812c94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -5496,6 +5496,10 @@ if test "${TEA_PLATFORM}" = "windows" ; then
:
#TEA_ADD_SOURCES([win/winFile.c])
#TEA_ADD_INCLUDES([-I\"$(${CYGPATH} ${srcdir}/win)\"])

PKG_CFLAGS="$PKG_CFLAGS -DUNICODE -D_UNICODE -DWINVER=0x0501 -D_WIN32_WINNT=0x0501"


else
# Ensure no empty else clauses
:
Expand Down
1 change: 1 addition & 0 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ if test "${TEA_PLATFORM}" = "windows" ; then
:
#TEA_ADD_SOURCES([win/winFile.c])
#TEA_ADD_INCLUDES([-I\"$(${CYGPATH} ${srcdir}/win)\"])
TEA_ADD_CFLAGS([-DUNICODE -D_UNICODE -DWINVER=0x0501 -D_WIN32_WINNT=0x0501])
else
# Ensure no empty else clauses
:
Expand Down

0 comments on commit 4812c94

Please sign in to comment.