summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/tr1/functional
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/tr1/functional')
-rw-r--r--libstdc++-v3/include/tr1/functional2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/include/tr1/functional b/libstdc++-v3/include/tr1/functional
index d53c99a9a5d..d3d681cf01f 100644
--- a/libstdc++-v3/include/tr1/functional
+++ b/libstdc++-v3/include/tr1/functional
@@ -135,6 +135,7 @@ namespace tr1
}
};
+#ifdef _GLIBCXX_USE_WCHAR_T
template <>
struct hash<std::wstring>
{
@@ -146,6 +147,7 @@ namespace tr1
return result;
}
};
+#endif
}
}