Ticket #2917: boost_1_38_0.asio-serial.vxworks.patch

File boost_1_38_0.asio-serial.vxworks.patch, 1.5 KB (added by Dustin Spicuzza <dustin@…>, 14 years ago)
  • boost/asio/serial_port_base.hpp

    diff -r -u boost_1_38_0/boost/asio/serial_port_base.hpp boost_1_38_vxworks/boost/asio/serial_port_base.hpp
    old new  
    2222#include <stdexcept>
    2323#include <boost/config.hpp>
    2424#include <boost/detail/workaround.hpp>
     25
     26#if !defined(BOOST_ASIO_DISABLE_SERIAL_PORT)
     27
    2528#if !defined(BOOST_WINDOWS) && !defined(__CYGWIN__)
    2629# include <termios.h>
    2730#endif
     
    156159
    157160#include <boost/asio/detail/pop_options.hpp>
    158161
     162#endif // !BOOST_ASIO_DISABLE_SERIAL_PORT
     163
    159164#endif // BOOST_ASIO_SERIAL_PORT_BASE_HPP
  • boost/asio/serial_port_service.hpp

    diff -r -u boost_1_38_0/boost/asio/serial_port_service.hpp boost_1_38_vxworks/boost/asio/serial_port_service.hpp
    old new  
    2323#include <string>
    2424#include <boost/asio/detail/pop_options.hpp>
    2525
     26#if !defined(BOOST_ASIO_DISABLE_SERIAL_PORT)
     27
    2628#include <boost/asio/error.hpp>
    2729#include <boost/asio/io_service.hpp>
    2830#include <boost/asio/detail/service_base.hpp>
     
    219221#endif // defined(BOOST_ASIO_HAS_SERIAL_PORT)
    220222       //   || defined(GENERATING_DOCUMENTATION)
    221223
     224#endif // !defined(BOOST_ASIO_DISABLE_SERIAL_PORT)
     225           
    222226#include <boost/asio/detail/pop_options.hpp>
    223227
    224228#endif // BOOST_ASIO_SERIAL_PORT_SERVICE_HPP