aboutsummaryrefslogtreecommitdiffstats
path: root/bench
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-04-29 18:55:33 +0200
committerMattias Andrée <maandree@kth.se>2016-04-29 18:55:41 +0200
commitea5c6307c674d345295de3e1301ea16586880484 (patch)
treef8fdbf78e1c4a804204d67c0c1855cdd2ad3b71d /bench
parentUse bold, not blackboard bold (diff)
downloadlibzahl-ea5c6307c674d345295de3e1301ea16586880484.tar.gz
libzahl-ea5c6307c674d345295de3e1301ea16586880484.tar.bz2
libzahl-ea5c6307c674d345295de3e1301ea16586880484.tar.xz
Change UNSAFE to ZAHL_UNSAFE, so it can be used in zahl-inlines.h
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'bench')
-rw-r--r--bench/libhebimath.h2
-rw-r--r--bench/libtfm.h2
-rw-r--r--bench/libtommath.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/bench/libhebimath.h b/bench/libhebimath.h
index 8f8f3ce..495abd1 100644
--- a/bench/libhebimath.h
+++ b/bench/libhebimath.h
@@ -29,7 +29,7 @@ static jmp_buf jbuf;
#define UNIFORM 1
#define MODUNIFORM 2
-#ifdef UNSAFE
+#ifdef ZAHL_UNSAFE
# define try(expr) (expr)
#else
# define try(expr) do if ((error = (expr))) longjmp(jbuf, 1); while (0)
diff --git a/bench/libtfm.h b/bench/libtfm.h
index 1610802..b87a288 100644
--- a/bench/libtfm.h
+++ b/bench/libtfm.h
@@ -24,7 +24,7 @@ static z_t _0, _1, _a, _b;
static int _tmp, error;
static jmp_buf jbuf;
-#ifdef UNSAFE
+#ifdef ZAHL_UNSAFE
# define try(expr) (expr)
#else
# define try(expr) do if ((error = (expr))) longjmp(jbuf, 1); while (0)
diff --git a/bench/libtommath.h b/bench/libtommath.h
index 3529118..f502618 100644
--- a/bench/libtommath.h
+++ b/bench/libtommath.h
@@ -24,7 +24,7 @@ static z_t _0, _1, _a, _b;
static int _tmp, error;
static jmp_buf jbuf;
-#ifdef UNSAFE
+#ifdef ZAHL_UNSAFE
# define try(expr) (expr)
#else
# define try(expr) do if ((error = (expr))) longjmp(jbuf, 1); while (0)