aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/uzlib
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-01-29 22:41:27 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-01-29 22:41:27 +0100
commit258b99426446ac7b12b6f5736362a9f7daa979de (patch)
tree93aa3c8201ac2eb88ee289cef821070a84083ef6 /test/monniaux/uzlib
parent417b4381dda4b88a1e382f821c8964cf8954307e (diff)
downloadcompcert-kvx-258b99426446ac7b12b6f5736362a9f7daa979de.tar.gz
compcert-kvx-258b99426446ac7b12b6f5736362a9f7daa979de.zip
no need for this anymore
Diffstat (limited to 'test/monniaux/uzlib')
-rwxr-xr-xtest/monniaux/uzlib/compile.sh2
-rw-r--r--test/monniaux/uzlib/src/tinflate.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/test/monniaux/uzlib/compile.sh b/test/monniaux/uzlib/compile.sh
index 3a692061..2a27b963 100755
--- a/test/monniaux/uzlib/compile.sh
+++ b/test/monniaux/uzlib/compile.sh
@@ -1 +1 @@
-make CC=/home/monniaux/work/Kalray/CompCert/ccomp COPT="-Wall -O3 -U__SIZEOF_INT128__ -DUZLIB_NO_CALLBACK -U __SIZE_TYPE__ -D __SIZE_TYPE__='unsigned long long'"
+make CC=/home/monniaux/work/Kalray/CompCert/ccomp COPT="-Wall -O3 -U__SIZEOF_INT128__ -U __SIZE_TYPE__ -D __SIZE_TYPE__='unsigned long long'"
diff --git a/test/monniaux/uzlib/src/tinflate.c b/test/monniaux/uzlib/src/tinflate.c
index cfb9b4c5..b93bc1fa 100644
--- a/test/monniaux/uzlib/src/tinflate.c
+++ b/test/monniaux/uzlib/src/tinflate.c
@@ -197,7 +197,6 @@ unsigned char uzlib_get_byte(TINF_DATA *d)
return *d->source++;
}
-#ifndef UZLIB_NO_CALLBACK
/* Otherwise if there's callback and we haven't seen EOF yet, try to
read next byte using it. (Note: the callback can also update ->source
and ->source_limit). */
@@ -207,7 +206,6 @@ unsigned char uzlib_get_byte(TINF_DATA *d)
return (unsigned char)val;
}
}
-#endif
/* Otherwise, we hit EOF (either from ->readSource() or from exhaustion
of the buffer), and it will be "sticky", i.e. further calls to this