]> granicus.if.org Git - graphviz/commit
cgraph: move include of config.h to before defining storage-class attributes in cghdr.h
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 2 Jan 2022 09:21:35 +0000 (10:21 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 9 Jan 2022 08:44:21 +0000 (09:44 +0100)
commitc0c4a4e208aea211ffe0802d3e67f0d44018aa2b
tree88a3605842de0bcd00a408dd3e28e7d25298b9b8
parent8ca055e113c7f9d2222f903520a20448d0d10b6e
cgraph: move include of config.h to before defining storage-class attributes in cghdr.h

The GVDLL symbol is defined in config.h for autotools builds and an
upcoming commit which changes cghdr.h to use GVDLL to control the
storage-class attribute declarations would otherwise cause errors like
this:

C:\Users\magja\graphviz\cmd\tools/gc.c:333: undefined reference to `__imp_agapply'

Towards https://gitlab.com/graphviz/graphviz/-/issues/2173.
lib/cgraph/cghdr.h