mirror of
https://github.com/vale981/arb
synced 2025-03-04 08:51:40 -05:00
Change flint_abort to abort only if flint > 2.5.2
This commit is contained in:
parent
42db548c92
commit
dca95e673e
6 changed files with 38 additions and 0 deletions
6
arf.h
6
arf.h
|
@ -27,6 +27,12 @@
|
|||
#include "fmpr.h"
|
||||
#include "mag.h"
|
||||
|
||||
#ifndef flint_abort
|
||||
#if __FLINT_RELEASE <= 20502
|
||||
#define flint_abort abort
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
|
@ -22,6 +22,12 @@
|
|||
#include "flint/flint.h"
|
||||
#include "flint/fmpz_mat.h"
|
||||
|
||||
#ifndef flint_abort
|
||||
#if __FLINT_RELEASE <= 20502
|
||||
#define flint_abort abort
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
8
dlog.h
8
dlog.h
|
@ -18,6 +18,14 @@
|
|||
#define DLOG_INLINE static __inline__
|
||||
#endif
|
||||
|
||||
#include "flint/flint.h"
|
||||
|
||||
#ifndef flint_abort
|
||||
#if __FLINT_RELEASE <= 20502
|
||||
#define flint_abort abort
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "flint/ulong_extras.h"
|
||||
#include "flint/nmod_vec.h"
|
||||
|
||||
|
|
6
fmpr.h
6
fmpr.h
|
@ -25,6 +25,12 @@
|
|||
#include "flint/config.h"
|
||||
#include "fmpz_extras.h"
|
||||
|
||||
#ifndef flint_abort
|
||||
#if __FLINT_RELEASE <= 20502
|
||||
#define flint_abort abort
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define TLS_PREFIX FLINT_TLS_PREFIX
|
||||
|
||||
#if defined(_MSC_VER) && defined(ARB_BUILD_DLL)
|
||||
|
|
|
@ -20,6 +20,12 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef flint_abort
|
||||
#if __FLINT_RELEASE <= 20502
|
||||
#define flint_abort abort
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* currently defined in the arb module, but global to the library */
|
||||
double arb_test_multiplier(void);
|
||||
|
||||
|
|
6
mag.h
6
mag.h
|
@ -24,6 +24,12 @@
|
|||
#include "flint/fmpz.h"
|
||||
#include "fmpz_extras.h"
|
||||
|
||||
#ifndef flint_abort
|
||||
#if __FLINT_RELEASE <= 20502
|
||||
#define flint_abort abort
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue