From 61633df47d0833c1d5ea2747d300c8f7d1fc39da Mon Sep 17 00:00:00 2001 From: myun2 Date: Mon, 9 Jul 2012 10:05:07 +0900 Subject: [PATCH] =?utf8?q?io/socket/socket.hpp:=20UNIX=20GCC=E5=88=A4?= =?utf8?q?=E5=AE=9A=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- roast/include/roast/io/socket/socket.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roast/include/roast/io/socket/socket.hpp b/roast/include/roast/io/socket/socket.hpp index e29626d3..3b195c48 100644 --- a/roast/include/roast/io/socket/socket.hpp +++ b/roast/include/roast/io/socket/socket.hpp @@ -179,4 +179,15 @@ namespace roast } #endif +#ifdef __linux__ + #include "roast/unix/socket_impl.hpp" + namespace roast{ + namespace io + { + typedef socket_<::roast::unix::socket_impl> socket; + } + using io::socket; + } +#endif + #endif//__SFJP_ROAST__io__socket__socket_HPP__ -- 2.11.0