$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: chris_at_[hidden]
Date: 2008-06-19 08:41:33
Author: chris_kohlhoff
Date: 2008-06-19 08:41:32 EDT (Thu, 19 Jun 2008)
New Revision: 46506
URL: http://svn.boost.org/trac/boost/changeset/46506
Log:
Fix for unicode builds.
Text files modified:
trunk/boost/asio/detail/win_iocp_serial_port_service.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/asio/detail/win_iocp_serial_port_service.hpp
==============================================================================
--- trunk/boost/asio/detail/win_iocp_serial_port_service.hpp (original)
+++ trunk/boost/asio/detail/win_iocp_serial_port_service.hpp 2008-06-19 08:41:32 EDT (Thu, 19 Jun 2008)
@@ -85,7 +85,7 @@
std::string name = (device[0] == '\\') ? device : "\\\\.\\" + device;
// Open a handle to the serial port.
- ::HANDLE handle = ::CreateFile(name.c_str(),
+ ::HANDLE handle = ::CreateFileA(name.c_str(),
GENERIC_READ | GENERIC_WRITE, 0, 0,
OPEN_EXISTING, FILE_FLAG_OVERLAPPED, 0);
if (handle == INVALID_HANDLE_VALUE)