Skip to content

Commit 8232a4a

Browse files
author
jantje
committed
#493 add space before define in Linux
1 parent ac41f11 commit 8232a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

it.baeyens.arduino.core/src/it/baeyens/arduino/toolchain/ArduinoLanguageProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ protected String getCompilerCommand(String languageId) {
222222
public static String adaptCompilerCommand(String environmentReceivedRecipe) {
223223
String ret = environmentReceivedRecipe.replaceAll("[^\\\\]\"\"", Const.EMPTY_STRING);
224224

225-
String replaceString = "'-D$1=\"$2\"'"; // linux and mac
225+
String replaceString = " '-D$1=\"$2\"'"; // linux and mac
226226
if (Platform.getOS().equals(Platform.OS_WIN32)) {
227227
replaceString = " \"-D$1=\\\\\"$2\\\\\"\""; // windows
228228
}

0 commit comments

Comments
 (0)