mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 16:36:14 +01:00
Merge branch 'msvc-force-codeset' into 'master'
msvc: set the execution and source encoding to utf-8. Fixes #1294 Closes #1294 See merge request GNOME/glib!25
This commit is contained in:
commit
0c624379aa
@ -23,6 +23,8 @@ if cc.get_id() == 'msvc'
|
||||
# Disable SAFESEH with MSVC for plugins and libs that use external deps that
|
||||
# are built with MinGW
|
||||
noseh_link_args = ['/SAFESEH:NO']
|
||||
# Set the input and exec encoding to utf-8, like is the default with GCC
|
||||
add_project_arguments(cc.get_supported_arguments(['/utf-8']), language: 'c')
|
||||
else
|
||||
noseh_link_args = []
|
||||
# -mms-bitfields vs -fnative-struct ?
|
||||
|
Loading…
Reference in New Issue
Block a user