Add comment about inlining C relative includes

This commit is contained in:
Nigel Tao committed 2017-12-01 11:36:12 +11:00
1 parent 7601fb45ce
commit 56a2a926c5
3 files changed
+15 -4

No files matched your search

+6 -2
View File
@@ -37,8 +37,14 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
// !! wuffs mimic cflags: -DWUFFS_MIMIC -lz
// If building this program in an environment that doesn't easily accomodate
// relative includes, you can use the script/inline-c-relative-includes.go
// program to generate a stand-alone C file.
#include "../../../gen/c/std/flate.c"
#include "../testlib/testlib.c"
#ifdef WUFFS_MIMIC
#include "../mimiclib/flate.c"
#endif
// ---------------- Golden Tests
@@ -686,8 +692,6 @@ void test_wuffs_zlib_decode_pi() {
#ifdef WUFFS_MIMIC
#include "../mimiclib/flate.c"
void test_mimic_flate_decode_256_bytes() {
CHECK_FOCUS(__func__);
do_test_buf1_buf1(mimic_flate_decode, &flate_256_bytes_gt, 0, 0);