aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/jpeg-6b/jmorecfg.h
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-01-29 22:00:49 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-01-29 22:00:49 +0100
commit15aafbb6ff578e10bfc9348c0d04aeaf83279705 (patch)
tree49cd839c4a28923feb16b8ffd278aab0d283e297 /test/monniaux/jpeg-6b/jmorecfg.h
parentc92fb6bebc781525e09bd38cb77f746c3b8d118c (diff)
downloadcompcert-kvx-15aafbb6ff578e10bfc9348c0d04aeaf83279705.tar.gz
compcert-kvx-15aafbb6ff578e10bfc9348c0d04aeaf83279705.zip
muf muf muf
Diffstat (limited to 'test/monniaux/jpeg-6b/jmorecfg.h')
-rw-r--r--test/monniaux/jpeg-6b/jmorecfg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/monniaux/jpeg-6b/jmorecfg.h b/test/monniaux/jpeg-6b/jmorecfg.h
index 4ca525e1..43bff325 100644
--- a/test/monniaux/jpeg-6b/jmorecfg.h
+++ b/test/monniaux/jpeg-6b/jmorecfg.h
@@ -17,12 +17,19 @@
#define MODULO(x, y) ((x) % (y))
#define DIVISION(x, y) ((x) / (y))
#endif
+
#ifdef TAIL_CALL_MISSING
#define KILL_TAIL_CALL { int val = 1; }
#else
#define KILL_TAIL_CALL
#endif
+#ifdef MEMCPY_MISSING
+#define ASSIGN_FUNPTR(x, y)
+#else
+#define ASSIGN_FUNPTR(x, y) x = y
+#endif
+
/*
* Define BITS_IN_JSAMPLE as either
* 8 for 8-bit sample values (the usual setting)