From f031bfa17693b8af258675afab70f2b17b4473c9 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 28 Apr 2012 16:23:16 +0000 Subject: [PATCH] make it simpler to disable UNC paths --- include/libtorrent/config.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/libtorrent/config.hpp b/include/libtorrent/config.hpp index f9de4457e..6a38bf124 100644 --- a/include/libtorrent/config.hpp +++ b/include/libtorrent/config.hpp @@ -203,7 +203,9 @@ POSSIBILITY OF SUCH DAMAGE. #define TORRENT_USE_GETADAPTERSADDRESSES 1 #define TORRENT_HAS_SALEN 0 #define TORRENT_USE_GETIPFORWARDTABLE 1 +#ifndef TORRENT_USE_UNC_PATHS #define TORRENT_USE_UNC_PATHS 1 +#endif // ==== WINDOWS === #elif defined WIN32 @@ -220,7 +222,9 @@ POSSIBILITY OF SUCH DAMAGE. #endif #define TORRENT_USE_RLIMIT 0 #define TORRENT_HAS_FALLOCATE 0 +#ifndef TORRENT_USE_UNC_PATHS #define TORRENT_USE_UNC_PATHS 1 +#endif // ==== SOLARIS === #elif defined sun || defined __sun