hash_map: Don't #include "backward_warning.h" if _GLIBCXX_PERMIT_BACKWARD_HASH is defined.

* include/backward/hash_map: Don't #include "backward_warning.h"
	if _GLIBCXX_PERMIT_BACKWARD_HASH is defined.
	* include/backward/hash_set: Likewise.

From-SVN: r158281
This commit is contained in:
Ian Lance Taylor 2010-04-13 20:24:40 +00:00 committed by Ian Lance Taylor
parent 014edf49f8
commit 896e7917c0
3 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2010-04-13 Ian Lance Taylor <iant@google.com>
* include/backward/hash_map: Don't #include "backward_warning.h"
if _GLIBCXX_PERMIT_BACKWARD_HASH is defined.
* include/backward/hash_set: Likewise.
2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* configure.host (os_include_dir): Removed solaris2.7 support.

View File

@ -57,7 +57,10 @@
#ifndef _BACKWARD_HASH_MAP
#define _BACKWARD_HASH_MAP 1
#ifndef _GLIBCXX_PERMIT_BACKWARD_HASH
#include "backward_warning.h"
#endif
#include <bits/c++config.h>
#include <backward/hashtable.h>
#include <bits/concept_check.h>

View File

@ -57,7 +57,10 @@
#ifndef _BACKWARD_HASH_SET
#define _BACKWARD_HASH_SET 1
#ifndef _GLIBCXX_PERMIT_BACKWARD_HASH
#include "backward_warning.h"
#endif
#include <bits/c++config.h>
#include <backward/hashtable.h>
#include <bits/concept_check.h>