Skip to content

Commit a05f3d5

Browse files
authored
Merge pull request #17 from perl-libwin32/jandubois-wchar
Include wchar.h to allow building with g++
2 parents 292091e + ccaabc2 commit a05f3d5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.appveyor.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ matrix:
77
environment:
88
matrix:
99
- perl_type: cygwin
10+
- perl_type: cygwin
11+
configure_args: "CC=g++"
1012
- perl_type: strawberry
1113
perl_version: 5.28.0.1
1214
- perl_type: strawberry
@@ -32,4 +34,4 @@ install:
3234
build: off
3335

3436
test_script:
35-
- '%cpanm% --test-only -v .'
37+
- '%cpanm% --test-only --configure-args "%configure_args%" -v .'

Win32.xs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#define WIN32_LEAN_AND_MEAN
2+
#include <wchar.h>
23
#include <wctype.h>
34
#include <windows.h>
45
#include <shlobj.h>

0 commit comments

Comments
 (0)