Skip to content

Commit 4af1cc7

Browse files
committed
Revert the change and remove an incorrect comment
1 parent 1808e8a commit 4af1cc7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

m4/stl_hash.m4

+1-5
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
# include AC_TRY_COMPILE for all the combinations we've seen in the
55
# wild. We define HASH_MAP_H to the location of the header file, and
66
# HASH_NAMESPACE to the namespace the class (unordered_map or
7-
# hash_map) is in. We define HAVE_UNORDERED_MAP if the class we found
8-
# is named unordered_map, or leave it undefined if not.
7+
# hash_map) is in.
98

109
# This also checks if unordered map exists.
1110
AC_DEFUN([AC_CXX_STL_HASH],
@@ -53,9 +52,6 @@ AC_DEFUN([AC_CXX_STL_HASH],
5352
if test -n "$ac_cv_cxx_hash_map"; then
5453
AC_DEFINE(HAVE_HASH_MAP, 1, [define if the compiler has hash_map])
5554
AC_DEFINE(HAVE_HASH_SET, 1, [define if the compiler has hash_set])
56-
if test "$ac_cv_cxx_hash_map_class" = "unordered_map"; then
57-
AC_DEFINE(HAVE_UNORDERED_MAP, 1, [define if the hash_map class is unordered_map])
58-
fi
5955
AC_DEFINE_UNQUOTED(HASH_MAP_H,$ac_cv_cxx_hash_map,
6056
[the location of <unordered_map> or <hash_map>])
6157
AC_DEFINE_UNQUOTED(HASH_SET_H,$ac_cv_cxx_hash_set,

0 commit comments

Comments
 (0)