diff options
author | Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com> | 2014-08-23 13:19:43 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2014-08-23 13:19:43 +0400 |
commit | 5eed8647ea8a60951c273369068a01f44dfe97e9 (patch) | |
tree | 13b67d33e3d4b9bdb08fc59a8a0a157bcf87abf3 | |
parent | 09fa4517e0b76223cd83aeb3976af26a2e3fdbf7 (diff) | |
download | bdwgc-5eed8647ea8a60951c273369068a01f44dfe97e9.tar.gz |
Fix getcontext usage on OpenRISC/or1k
* include/private/gcconfig.h (NO_GETCONTEXT): Do not use getcontext(2)
on OpenRISC 1000 (or1k) as it is not implemented yet.
-rw-r--r-- | include/private/gcconfig.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index 7c1bb3f2..549f0414 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -2653,7 +2653,8 @@ #if ((defined(UNIX_LIKE) && (defined(DARWIN) || defined(HURD) \ || defined(OPENBSD) || defined(ARM32) \ - || defined(MIPS) || defined(AVR32))) \ + || defined(MIPS) || defined(AVR32) \ + || defined(OR1K))) \ || (defined(LINUX) && (defined(SPARC) || defined(M68K))) \ || ((defined(RTEMS) || defined(PLATFORM_ANDROID)) && defined(I386))) \ && !defined(NO_GETCONTEXT) |