| 1 | Fromscip-debian debian libbfio 20170123-6 libbfio/patches/`0002-Don-t-define-HAVE_BFIO_TEST_MEMORY-on-some-architect.patch`#From.: Hilko Bengen <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 | Datescip-debian debian libbfio 20170123-6 libbfio/patches/`0002-Don-t-define-HAVE_BFIO_TEST_MEMORY-on-some-architect.patch`#Date.: Sun, 5 Feb 2017 13:38:08 +0100 |
| 3 | Subjectscip-debian debian libbfio 20170123-6 libbfio/patches/`0002-Don-t-define-HAVE_BFIO_TEST_MEMORY-on-some-architect.patch`#Subject.: Don't define HAVE_BFIO_TEST_MEMORY on some architectures |
| 4 | |
| 5 | --- |
| 6 | tests/bfio_test_memory.h | 4 ++++ |
| 7 | 1 file changed, 4 insertions(+) |
| 8 | |
| 9 | diff --git a/tests/bfio_test_memory.hscip-debian debian libbfio 20170123-6 libbfio/upstream/`tests/bfio_test_memory.h`: b/tests/bfio_test_memory.hscip-debian debian libbfio 20170123-6 libbfio/upstream/`tests/bfio_test_memory.h`: |
| 10 | index 9d7d797..e44ba12 100644 |
| 11 | --- a/tests/bfio_test_memory.h |
| 12 | +++ b/tests/bfio_test_memory.h |
| 13 | @@ -30,6 +30,8 @@ extern "C" { |
| 14 | |
| 15 | #if defined( HAVE_GNU_DL_DLSYM ) && defined( __GNUC__ ) && !defined( __clang__ ) |
| 16 | |
| 17 | +#if !defined( __arm__ ) && !defined( __mips__ ) && !defined( __hppa__ ) && !defined( __sparc__ ) && !defined( __riscv ) |
| 18 | + |
| 19 | #define HAVE_BFIO_TEST_MEMORY 1 |
| 20 | |
| 21 | extern int bfio_test_malloc_attempts_before_fail; |
| 22 | @@ -40,6 +42,8 @@ extern int bfio_test_memset_attempts_before_fail; |
| 23 | |
| 24 | extern int bfio_test_realloc_attempts_before_fail; |
| 25 | |
| 26 | +#endif /* !defined( __arm__ ) ... */ |
| 27 | + |
| 28 | #endif /* defined( HAVE_GNU_DL_DLSYM ) && defined( __GNUC__ ) && !defined( __clang__ ) */ |
| 29 | |
| 30 | #if defined( __cplusplus ) |