vxworks.hpp 819 B

12345678910111213141516171819202122232425262728293031
  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. // See http://www.boost.org for most recent version.
  6. // vxWorks specific config options:
  7. #define BOOST_PLATFORM "vxWorks"
  8. #define BOOST_NO_CWCHAR
  9. #define BOOST_NO_INTRINSIC_WCHAR_T
  10. #if defined(__GNUC__) && defined(__STRICT_ANSI__)
  11. #define BOOST_NO_INT64_T
  12. #endif
  13. #define BOOST_HAS_UNISTD_H
  14. // these allow posix_features to work, since vxWorks doesn't
  15. // define them itself
  16. #define _POSIX_TIMERS 1
  17. #define _POSIX_THREADS 1
  18. // vxworks doesn't work with asio serial ports
  19. #define BOOST_ASIO_DISABLE_SERIAL_PORT
  20. // boilerplate code:
  21. #include <boost/config/posix_features.hpp>