Boo0ns / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Ensure a compile-time method for checking for 1.0. #453

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There should be a way to check at compile time if code is being compiled under 
1.0 or earlier.  This could be the existing ARDUINO #define, but we might need 
something else if it's not clear what numbered release 1.0 is going to be.

Original issue reported on code.google.com by dmel...@gmail.com on 7 Jan 2011 at 7:49

GoogleCodeExporter commented 9 years ago
I bumped the ARDUINO number to 100, so you can check for 1.0.  We might still 
need to do a pre-1.0 0023, so I didn't want to just use that number for the 1.0 
beta.

https://github.com/arduino/Arduino/commit/43cfc87f17282abb4bf3c31951c7ae4d8a0ced
20

Original comment by dmel...@gmail.com on 26 Mar 2011 at 8:43