This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an AVR platform config file to Boost.
Signed-off-by: Ryan Pavlik <[email protected]>
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// (C) Copyright Ryan Pavlik 2012 | ||
// Use, modification and distribution are subject to the | ||
// Boost Software License, Version 1.0. (See accompanying file | ||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
// See http://www.boost.org for most recent version. | ||
|
||
// AVR (embedded, with avr-libc) config options: | ||
// (Requires a C++ standard library like STLport - https://github.com/vancegroup/stlport-avr/wiki ) | ||
|
||
#define BOOST_PLATFORM "avr" | ||
|
||
// No wchar_t in avr-libc | ||
#define BOOST_NO_INTRINSIC_WCHAR_T | ||
|
||
// Asserts don't make sense (or work right) in embedded | ||
#define BOOST_DISABLE_ASSERTS | ||
|
||
// Defined by arduino/wiring WString.h | ||
#ifdef F | ||
#undef F | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters