From: erg Date: Wed, 25 Jul 2007 19:27:13 +0000 (+0000) Subject: Add flag for building lib/common on Windows to allow necessary X-Git-Tag: LAST_LIBGRAPH~32^2~5488 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d4dc8aeace3ac8117313f99070516548202dc3b;p=graphviz Add flag for building lib/common on Windows to allow necessary declarations for dlls. --- diff --git a/lib/common/Makefile.am b/lib/common/Makefile.am index 5c26e4f1c..552ac96ce 100644 --- a/lib/common/Makefile.am +++ b/lib/common/Makefile.am @@ -10,6 +10,10 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/lib/graph \ -I$(top_srcdir)/lib/cdt @GD_INCLUDES@ @EXPAT_INCLUDES@ @Z_INCLUDES@ +if HAVE_WIN32 +AM_CFLAGS = -D_BLD_common=1 +endif + pkginclude_HEADERS = geom.h color.h types.h textpara.h usershape.h noinst_HEADERS = render.h utils.h memory.h \ geomprocs.h colorprocs.h colortbl.h entities.h \