From 001c999316a8c2f73adf349bcec408e8ee9af9d6 Mon Sep 17 00:00:00 2001 From: dnotestein Date: Wed, 13 Nov 2013 14:35:12 -0500 Subject: [PATCH] Fix some forward sizes for Win64 --- include/fc/filesystem.hpp | 4 ++++ include/fc/interprocess/file_mapping.hpp | 4 ++++ include/fc/network/tcp_socket.hpp | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/include/fc/filesystem.hpp b/include/fc/filesystem.hpp index 3661813..1bc565f 100644 --- a/include/fc/filesystem.hpp +++ b/include/fc/filesystem.hpp @@ -66,7 +66,11 @@ namespace fc { static char separator_char; private: + #ifdef _WIN64 + fwd _p; + #else fwd _p; + #endif }; class directory_iterator { diff --git a/include/fc/interprocess/file_mapping.hpp b/include/fc/interprocess/file_mapping.hpp index 051dece..e6b6817 100644 --- a/include/fc/interprocess/file_mapping.hpp +++ b/include/fc/interprocess/file_mapping.hpp @@ -21,7 +21,11 @@ namespace fc { ~file_mapping(); private: friend class mapped_region; + #ifdef _WIN64 + fc::fwd my; + #else fc::fwd my; + #endif }; class mapped_region { diff --git a/include/fc/network/tcp_socket.hpp b/include/fc/network/tcp_socket.hpp index 05adb2d..b808f24 100644 --- a/include/fc/network/tcp_socket.hpp +++ b/include/fc/network/tcp_socket.hpp @@ -32,7 +32,11 @@ namespace fc { private: friend class tcp_server; class impl; + #ifdef _WIN64 + fc::fwd my; + #else fc::fwd my; + #endif }; typedef std::shared_ptr tcp_socket_ptr;