diff options
author | Michael Matz <matz@gcc.gnu.org> | 2016-01-26 16:34:24 +0000 |
---|---|---|
committer | Michael Matz <matz@gcc.gnu.org> | 2016-01-26 16:34:24 +0000 |
commit | 3dde4d658b231673bd2d61dddd4708ab4ff66b49 (patch) | |
tree | 9edc53bf63b981b4a43ccf59323db191f3ef1075 /gcc/system.h | |
parent | 8964d2a090ffb96d822c8d3e5b533b5777285240 (diff) | |
download | gcc-3dde4d658b231673bd2d61dddd4708ab4ff66b49.zip gcc-3dde4d658b231673bd2d61dddd4708ab4ff66b49.tar.gz gcc-3dde4d658b231673bd2d61dddd4708ab4ff66b49.tar.bz2 |
configure.ac (ac_cv_std_swap_in_utility): New test.
* configure.ac (ac_cv_std_swap_in_utility): New test.
* system.h (<algorithm>): Check HAVE_SWAP_IN_UTILITY as well.
* configure: Regenerate.
* config.in: Regenerate.
From-SVN: r232836
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/system.h b/gcc/system.h index 8151e0a..445073c 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -217,7 +217,7 @@ extern int errno; #endif #ifdef __cplusplus -#ifdef INCLUDE_ALGORITHM +#if defined (INCLUDE_ALGORITHM) || !defined (HAVE_SWAP_IN_UTILITY) # include <algorithm> #endif # include <cstring> |