diff options
author | wilson chen <willson.chenwx@gmail.com> | 2019-12-22 23:04:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-22 23:04:29 +0800 |
commit | 13705fe80f9a39b21c1e1b605760937f7916a7e2 (patch) | |
tree | fe5921a86e3d29bab84b1c05ca5bac546e54ca9b /src/gdcache.h | |
parent | 42ad48b53f0b703fb654c7f6fbfce62c59b07fcc (diff) | |
download | libgd-13705fe80f9a39b21c1e1b605760937f7916a7e2.tar.gz |
gdcache: improve gdcache test compile cmd
Diffstat (limited to 'src/gdcache.h')
-rw-r--r-- | src/gdcache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gdcache.h b/src/gdcache.h index bf451dc..751a842 100644 --- a/src/gdcache.h +++ b/src/gdcache.h @@ -12,7 +12,9 @@ extern "C" { * John Ellson (ellson@graphviz.org) Oct 31, 1997 * * Test this with: - * gcc -o gdcache -g -Wall -DTEST gdcache.c + * gcc -o gdcache -g -Wall -DTEST -DNEED_CACHE gdcache.c -lgd + * or + * gcc -o gdcache -g -Wall -DTEST -DNEED_CACHE gdcache.c libgd.a * * The cache is implemented by a singly-linked list of elements * each containing a pointer to a user struct that is being managed by |