Skip to content

Commit 792b393

Browse files
Fix build script on MacOS
This change fixes an issue where the build script would fail on MacOS with an error referencing the nullptr keyword. fixes #1
1 parent 9dc2b6e commit 792b393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnixConsoleEcho.build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ task BuildNative {
4141
}
4242

4343
# If not Windows or Linux then assume MacOS
44-
g++ -dynamiclib -o $PSScriptRoot/src/Native/Unix/build/libdisablekeyecho.dylib $PSScriptRoot/src/Native/Unix/disable_key_echo.cpp
44+
g++ -dynamiclib -o $PSScriptRoot/src/Native/Unix/build/libdisablekeyecho.dylib $PSScriptRoot/src/Native/Unix/disable_key_echo.cpp -std=c++0x
4545
}
4646

4747
task DoPack {

0 commit comments

Comments
 (0)