diff options
author | matz <matz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-26 16:34:24 +0000 |
---|---|---|
committer | matz <matz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-26 16:34:24 +0000 |
commit | 4176ce096510479b797ea78d60ec753e340b32dc (patch) | |
tree | 9edc53bf63b981b4a43ccf59323db191f3ef1075 /gcc/system.h | |
parent | 7a3a29d0d81ad02727273aed6655166034d786e8 (diff) | |
download | gcc-4176ce096510479b797ea78d60ec753e340b32dc.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232836 138bc75d-0d04-0410-961f-82ee72b054a4
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 8151e0a7b2a..445073c5cae 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> |