Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 1 | // (C) Copyright Dustin Spicuzza 2009. |
| 2 | // Use, modification and distribution are subject to the |
| 3 | // Boost Software License, Version 1.0. (See accompanying file |
| 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 5 | |
| 6 | // See http://www.boost.org for most recent version. |
| 7 | |
| 8 | // vxWorks specific config options: |
| 9 | |
| 10 | #define BOOST_PLATFORM "vxWorks" |
| 11 | |
| 12 | #define BOOST_NO_CWCHAR |
| 13 | #define BOOST_NO_INTRINSIC_WCHAR_T |
| 14 | |
| 15 | #if defined(__GNUC__) && defined(__STRICT_ANSI__) |
| 16 | #define BOOST_NO_INT64_T |
| 17 | #endif |
| 18 | |
| 19 | #define BOOST_HAS_UNISTD_H |
| 20 | |
| 21 | // these allow posix_features to work, since vxWorks doesn't |
| 22 | // define them itself |
| 23 | #define _POSIX_TIMERS 1 |
| 24 | #define _POSIX_THREADS 1 |
| 25 | |
| 26 | // vxworks doesn't work with asio serial ports |
| 27 | #define BOOST_ASIO_DISABLE_SERIAL_PORT |
| 28 | |
| 29 | // boilerplate code: |
Jeff Thompson | 2277ce5 | 2013-08-01 17:34:11 -0700 | [diff] [blame^] | 30 | #include <ndnboost/config/posix_features.hpp> |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 31 | |