Skip to content

Commit a299603

Browse files
author
James Foster
committed
Fix macro name.
1 parent e7a2a1c commit a299603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/arduino_ci/cpp_library.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def build_for_test_with_configuration(test_file, aux_libraries, gcc_binary, ci_g
324324
executable = Pathname.new("unittest_#{base}.bin").expand_path
325325
File.delete(executable) if File.exist?(executable)
326326
arg_sets = []
327-
arg_sets << ["-std=c++0x", "-o", executable.to_s, "-DARDUINO=100", "-D__ARV__"]
327+
arg_sets << ["-std=c++0x", "-o", executable.to_s, "-DARDUINO=100", "-D__AVR__"]
328328
if libasan?(gcc_binary)
329329
arg_sets << [ # Stuff to help with dynamic memory mishandling
330330
"-g", "-O1",

0 commit comments

Comments
 (0)