]> granicus.if.org Git - graphviz/commitdiff
trying to minimize changes needed to gd
authorellson <devnull@localhost>
Fri, 11 Mar 2005 16:50:24 +0000 (16:50 +0000)
committerellson <devnull@localhost>
Fri, 11 Mar 2005 16:50:24 +0000 (16:50 +0000)
- change USE_THREADS to DISABLE_THREADS in gdhelpers.h
- remove change to NONDLL in gd.h
- add "#DEFINE NONDLL 1" and "#define DISABLE_THREADS 1" to windows/config.h
- fix entities.tcl to agree with entities.h that was supposed to be generated from it

lib/gd/entities.tcl

index d4134209c83b134bc8dc1c52801b378bbcb7c9cf..1f7c9e7e4af9a526a3497ca56c167ce7c2bf831b 100755 (executable)
@@ -32,7 +32,7 @@ puts $f "#ifdef __cplusplus"
 puts $f "extern \"C\" {"
 puts $f "#endif"
 puts $f ""
-puts $f "struct entities_s {"
+puts $f "static struct entities_s {"
 puts $f "      char    *name;"
 puts $f "      int     value;"
 puts $f "} entities\[\] = {"