From 792b393e8a250c48d3718a47dfd5e6f16968c987 Mon Sep 17 00:00:00 2001 From: "Patrick M. Meinecke" Date: Sat, 30 Dec 2017 08:48:27 -0500 Subject: [PATCH] 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 --- UnixConsoleEcho.build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnixConsoleEcho.build.ps1 b/UnixConsoleEcho.build.ps1 index b14af82..0a35829 100644 --- a/UnixConsoleEcho.build.ps1 +++ b/UnixConsoleEcho.build.ps1 @@ -41,7 +41,7 @@ task BuildNative { } # If not Windows or Linux then assume MacOS - g++ -dynamiclib -o $PSScriptRoot/src/Native/Unix/build/libdisablekeyecho.dylib $PSScriptRoot/src/Native/Unix/disable_key_echo.cpp + g++ -dynamiclib -o $PSScriptRoot/src/Native/Unix/build/libdisablekeyecho.dylib $PSScriptRoot/src/Native/Unix/disable_key_echo.cpp -std=c++0x } task DoPack {