From 0d3a6719b8d924ea663f95e3e2fb834cbd80c6a5 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 15 Apr 2013 16:45:42 +0100 Subject: Fix building with libc++. - Purged std::tr1::strlower (was never used). - Moved std::tr1::insensitive to irc::insensitive. - Added TR1NS macro to point to the correct C++ TR1 namespace. --- include/inspircd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/inspircd.h') diff --git a/include/inspircd.h b/include/inspircd.h index 929674eb3..25ef288aa 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -66,9 +66,11 @@ #include #endif -#ifdef _WIN32 +#if defined _LIBCPP_VERSION || defined _WIN32 +# define TR1NS std # include #else +# define TR1NS std::tr1 # include #endif #include -- cgit v1.2.3