aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgcc
diff options
Diffstat (limited to 'cgcc')
-rwxr-xr-xcgcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgcc b/cgcc
index e277574b..40dea2a0 100755
--- a/cgcc
+++ b/cgcc
@@ -252,6 +252,7 @@ sub add_specs {
return ' -Dunix=1 -D__unix=1 -D__unix__=1';
} elsif ( $spec =~ /^cygwin/) {
return &add_specs ('unix') .
+ ' -fshort-wchar' .
' -D__CYGWIN__=1 -D__CYGWIN32__=1' .
" -D'_cdecl=__attribute__((__cdecl__))'" .
" -D'__cdecl=__attribute__((__cdecl__))'" .